[Bugfix] 修复资产授权规则去重

pull/3263/head
BaiJiangJie 2019-09-24 11:35:57 +08:00
parent ec0cf38c3c
commit 08a19550b2
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class AssetPermissionViewSet(viewsets.ModelViewSet):
queryset = self.filter_node(queryset)
queryset = self.filter_system_user(queryset)
queryset = self.filter_user_group(queryset)
queryset = queryset.distinct()
return queryset
def get_queryset(self):