fix: 后台不限制roles的必填项

This commit is contained in:
Jiangjie.Bai
2022-03-07 11:41:23 +08:00
committed by Jiangjie.Bai
parent 0afff45bae
commit 46e119db1f
2 changed files with 0 additions and 14 deletions

View File

@@ -147,8 +147,6 @@ class UserProfileSerializer(UserSerializer):
'date_expired': {'read_only': True},
'date_joined': {'read_only': True},
'last_login': {'read_only': True},
'system_roles': {'read_only': True},
'org_roles': {'read_only': True},
})
if 'password' in fields: