Skip to content

Commit

Permalink
fix(项目设置): 用户组接口权限补足
Browse files Browse the repository at this point in the history
--bug=1027206 --user=宋天阳 【项目管理】禁用成员分类全部权限依然可对用户组与权限中的成员进行增删改查
https://www.tapd.cn/55049933/s/1384651
  • Loading branch information
song-tianyang authored and Somebody-JIAN committed Jun 21, 2023
1 parent 2718063 commit 62f3e0a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -147,6 +147,7 @@ public Pager<List<User>> getCurrentProjectGroupUser(@PathVariable int goPage, @P
}

@GetMapping("/rm/{userId}/{groupId}")
@RequiresPermissions(value = {PermissionConstants.PROJECT_GROUP_READ_DELETE, PermissionConstants.SYSTEM_GROUP_READ_DELETE}, logical = Logical.OR)
public void removeGroupMember(@PathVariable String userId, @PathVariable String groupId) {
groupService.removeGroupMember(userId, groupId);
}
Expand Down

0 comments on commit 62f3e0a

Please sign in to comment.