public ActionResult SetRolePrivilege(int RoleID) { bool ishasright = sysManageService.CheckUserAuthorizationRight(RoleID, base.UserId); if (!ishasright) { throw new NoPermissionExecption("您无权对该角色授权"); } ViewData["RoleID"] = RoleID; return(View()); }