fix(系统设置): 无项目权限时在项目管理菜单点击成员会被重定向
--bug=1015756 --user=李玉号 【系统设置】-系统管理员无项目权限-在项目管理-成员-点击下一页时跳转到个人信息页面。 https://www.tapd.cn/55049933/s/1221730
This commit is contained in:
parent
11cdba122d
commit
ca71f7434f
|
@ -158,7 +158,7 @@ public class UserController {
|
|||
}
|
||||
|
||||
@PostMapping("/project/member/list/{goPage}/{pageSize}")
|
||||
@RequiresPermissions(PermissionConstants.PROJECT_USER_READ)
|
||||
@RequiresPermissions(value = {PermissionConstants.PROJECT_USER_READ, PermissionConstants.WORKSPACE_USER_READ}, logical = Logical.OR)
|
||||
public Pager<List<User>> getProjectMemberList(@PathVariable int goPage, @PathVariable int pageSize, @RequestBody QueryMemberRequest request) {
|
||||
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
||||
return PageUtils.setPageInfo(page, userService.getProjectMemberList(request));
|
||||
|
|
Loading…
Reference in New Issue