diff --git a/backend/src/main/java/io/metersphere/controller/UserController.java b/backend/src/main/java/io/metersphere/controller/UserController.java index b9de777c1c..08b65d148b 100644 --- a/backend/src/main/java/io/metersphere/controller/UserController.java +++ b/backend/src/main/java/io/metersphere/controller/UserController.java @@ -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> getProjectMemberList(@PathVariable int goPage, @PathVariable int pageSize, @RequestBody QueryMemberRequest request) { Page page = PageHelper.startPage(goPage, pageSize, true); return PageUtils.setPageInfo(page, userService.getProjectMemberList(request)); diff --git a/frontend/src/business/components/settings/workspace/MsProject.vue b/frontend/src/business/components/settings/workspace/MsProject.vue index 01ee7f93fa..232ada90ec 100644 --- a/frontend/src/business/components/settings/workspace/MsProject.vue +++ b/frontend/src/business/components/settings/workspace/MsProject.vue @@ -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;