fix(系统设置): 接口权限控制问题
--bug=1015794 --user=李玉号 【接口权限】/user/project/member/list/1/10 接口权限控制错误 https://www.tapd.cn/55049933/s/1222956
This commit is contained in:
parent
2297374a46
commit
7e07e1bda1
|
@ -158,7 +158,7 @@ public class UserController {
|
|||
}
|
||||
|
||||
@PostMapping("/project/member/list/{goPage}/{pageSize}")
|
||||
@RequiresPermissions(value = {PermissionConstants.PROJECT_USER_READ, PermissionConstants.WORKSPACE_USER_READ}, logical = Logical.OR)
|
||||
@RequiresPermissions(PermissionConstants.PROJECT_USER_READ)
|
||||
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));
|
||||
|
|
|
@ -442,7 +442,7 @@ export default {
|
|||
this.dialogWsMemberVisible = true;
|
||||
let param = this.dialogCondition;
|
||||
this.$set(param, 'projectId', row.id);
|
||||
let path = "/user/project/member/list";
|
||||
let path = "/user/ws/project/member/list/" + row.workspaceId;
|
||||
this.result = this.$post(this.buildPagePath(path), param, res => {
|
||||
let data = res.data;
|
||||
this.memberLineData = data.listObject;
|
||||
|
|
Loading…
Reference in New Issue