mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-29 19:32:55 +00:00
fix: 用户组删除用户权限问题
This commit is contained in:
parent
32255c6077
commit
653a6752b6
@ -18,7 +18,7 @@ class UserUserGroupRelationViewSet(JMSBulkRelationModelViewSet):
|
||||
m2m_field = User.groups.field
|
||||
rbac_perms = {
|
||||
'create': 'users.change_usergroup',
|
||||
'destroy': 'users.change_usergroup'
|
||||
'bulk_destroy': 'users.change_usergroup',
|
||||
}
|
||||
|
||||
def get_queryset(self):
|
||||
|
Loading…
Reference in New Issue
Block a user