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:
|
||||
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')
|
||||
|
|
Loading…
Reference in New Issue