fix(系统设置): 权限修改
--bug=1043879 --user=宋天阳 【系统设置】系统-用户-邮箱邀请-用户无「用户组」查询权限,也应该正常邀请用户 https://www.tapd.cn/55049933/s/1552104
This commit is contained in:
parent
4619025b70
commit
c91ec1470a
|
@ -128,7 +128,7 @@ public class UserController {
|
||||||
|
|
||||||
@GetMapping("/get/global/system/role")
|
@GetMapping("/get/global/system/role")
|
||||||
@Operation(summary = "系统设置-系统-用户-查找系统级用户组")
|
@Operation(summary = "系统设置-系统-用户-查找系统级用户组")
|
||||||
@RequiresPermissions(PermissionConstants.SYSTEM_USER_ROLE_READ)
|
@RequiresPermissions(value = {PermissionConstants.SYSTEM_USER_ROLE_READ, PermissionConstants.SYSTEM_USER_INVITE}, logical = Logical.OR)
|
||||||
public List<UserSelectOption> getGlobalSystemRole() {
|
public List<UserSelectOption> getGlobalSystemRole() {
|
||||||
return globalUserRoleService.getGlobalSystemRoleList();
|
return globalUserRoleService.getGlobalSystemRoleList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue