Browse Source

fix: import role template csv failed

pull/13665/head
wangruidong 5 months ago committed by w940853815
parent
commit
39051ef0fd
  1. 1
      apps/rbac/serializers/role.py

1
apps/rbac/serializers/role.py

@ -27,6 +27,7 @@ class RoleSerializer(serializers.ModelSerializer):
'users_amount': {'label': _('Users amount')},
'display_name': {'label': _('Name')}
}
fields_unexport = ['permissions']
class RoleUserSerializer(serializers.ModelSerializer):

Loading…
Cancel
Save