[Update] 修改用户授权资产API返回的queryset

pull/2874/head
BaiJiangJie 5 years ago
parent 9a3065ad4c
commit 98260b5b52

@ -158,7 +158,7 @@ class UserGrantedAssetsApi(UserPermissionCacheMixin, AssetsFilterMixin, ListAPIV
system_user.actions = actions
system_users_granted.append(system_user)
asset.system_users_granted = system_users_granted
queryset.append(system_users_granted)
queryset.append(asset)
return queryset
def get_permissions(self):

Loading…
Cancel
Save