Browse Source

fix: 用户组删除用户权限问题

pull/12458/head
wangruidong 11 months ago committed by w940853815
parent
commit
653a6752b6
  1. 2
      apps/users/api/relation.py

2
apps/users/api/relation.py

@ -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…
Cancel
Save