feat: find a bug

pull/828/merge
i317280 2017-12-16 16:58:10 +08:00
parent 0f64d39cc5
commit fb6a187639
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class AssetViewSet(IDInFilterMixin, BulkModelViewSet):
if self.request.user.is_superuser:
queryset = super().get_queryset()
else:
# TODO Have bugs
queryset = get_user_granted_assets(self.request.user)
cluster_id = self.request.query_params.get('cluster_id')
asset_group_id = self.request.query_params.get('asset_group_id')