From 4a3986a9141925b4feff99f0463e988b428f98a3 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 10 Aug 2022 18:34:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=97=A0=E9=A1=B9=E7=9B=AE=E6=9D=83=E9=99=90=E6=97=B6=E5=9C=A8?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E8=8F=9C=E5=8D=95=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=88=90=E5=91=98=E4=BC=9A=E8=A2=AB=E9=87=8D=E5=AE=9A?= =?UTF-8?q?=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015756 --user=李玉号 【系统设置】-系统管理员无项目权限-在项目管理-成员-点击下一页时跳转到个人信息页面。 https://www.tapd.cn/55049933/s/1221730 --- .../src/main/java/io/metersphere/controller/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/controller/UserController.java b/backend/src/main/java/io/metersphere/controller/UserController.java index fe6fbba823..1495c05775 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(PermissionConstants.PROJECT_USER_READ) + @RequiresPermissions(value = {PermissionConstants.PROJECT_USER_READ, PermissionConstants.WORKSPACE_USER_READ}, logical = Logical.OR) 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));