From 02d06a74ff1a698a2552741dbcc28275036bf2c5 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 19 Jun 2023 19:13:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=BB=84=E6=B7=BB=E5=8A=A0=E6=88=90=E5=91=98?= =?UTF-8?q?=E7=BB=99=E4=BA=88=E7=B3=BB=E7=BB=9F=E9=A1=B9=E7=9B=AE=E4=B8=A4?= =?UTF-8?q?=E5=B1=82=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用户组添加成员给予系统项目两层权限 --- .../src/main/java/io/metersphere/controller/GroupController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/metersphere/controller/GroupController.java b/backend/src/main/java/io/metersphere/controller/GroupController.java index 7cb4e58439..86c9c07f05 100644 --- a/backend/src/main/java/io/metersphere/controller/GroupController.java +++ b/backend/src/main/java/io/metersphere/controller/GroupController.java @@ -157,6 +157,7 @@ public class GroupController { } @PostMapping("/add/member") + @RequiresPermissions(value = {PermissionConstants.SYSTEM_GROUP_READ_CREATE, PermissionConstants.PROJECT_GROUP_READ_CREATE}, logical = Logical.OR) public void addGroupUser(@RequestBody EditGroupUserRequest request) { groupService.addGroupUser(request); }