mirror of https://github.com/jumpserver/jumpserver
fix: 修复更新授权报错的问题
parent
0ade034391
commit
894955dd68
|
@ -39,7 +39,7 @@ class AssetPermissionSerializer(BulkOrgResourceModelSerializer):
|
|||
is_expired = serializers.BooleanField(read_only=True, label=_("Is expired"))
|
||||
accounts = serializers.ListField(label=_("Account"), required=False)
|
||||
|
||||
template_accounts: QuerySet
|
||||
template_accounts = AccountTemplate.objects.none()
|
||||
|
||||
class Meta:
|
||||
model = AssetPermission
|
||||
|
|
Loading…
Reference in New Issue