mirror of https://github.com/jumpserver/jumpserver
feat: find a bug
parent
0f64d39cc5
commit
fb6a187639
|
@ -41,6 +41,7 @@ class AssetViewSet(IDInFilterMixin, BulkModelViewSet):
|
||||||
if self.request.user.is_superuser:
|
if self.request.user.is_superuser:
|
||||||
queryset = super().get_queryset()
|
queryset = super().get_queryset()
|
||||||
else:
|
else:
|
||||||
|
# TODO: Have bugs
|
||||||
queryset = get_user_granted_assets(self.request.user)
|
queryset = get_user_granted_assets(self.request.user)
|
||||||
cluster_id = self.request.query_params.get('cluster_id')
|
cluster_id = self.request.query_params.get('cluster_id')
|
||||||
asset_group_id = self.request.query_params.get('asset_group_id')
|
asset_group_id = self.request.query_params.get('asset_group_id')
|
||||||
|
|
Loading…
Reference in New Issue