From e39d8dce3c5639d256474aa877eb316dc861da0d Mon Sep 17 00:00:00 2001 From: ibuler Date: Sat, 9 May 2020 14:52:44 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9fields?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/serializers/asset_permission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/perms/serializers/asset_permission.py b/apps/perms/serializers/asset_permission.py index 96fa58781..8d9235633 100644 --- a/apps/perms/serializers/asset_permission.py +++ b/apps/perms/serializers/asset_permission.py @@ -42,7 +42,7 @@ class AssetPermissionSerializer(BulkOrgResourceModelSerializer): class Meta: model = AssetPermission mini_fields = ['id', 'name'] - small_fields = [ + small_fields = mini_fields + [ 'is_active', 'is_expired', 'is_valid', 'actions', 'created_by', 'date_created' ] m2m_fields = [