mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
perf: 修改用户组添加全部用户api的权限位 (#10683)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -18,7 +18,7 @@ class UserGroupViewSet(OrgBulkModelViewSet):
|
||||
serializer_class = UserGroupSerializer
|
||||
ordering = ('name',)
|
||||
rbac_perms = (
|
||||
("add_all_users", "users.change_usergroup"),
|
||||
("add_all_users", "users.add_usergroup"),
|
||||
)
|
||||
|
||||
@action(methods=['post'], detail=True, url_path='add-all-users')
|
||||
|
Reference in New Issue
Block a user