mirror of https://github.com/jumpserver/jumpserver
feat(assets): 管理用户的资产列表增加 options 方法
parent
987f840431
commit
179cb7531c
|
@ -94,7 +94,6 @@ class AdminUserAssetsListView(generics.ListAPIView):
|
||||||
permission_classes = (IsOrgAdmin,)
|
permission_classes = (IsOrgAdmin,)
|
||||||
serializer_class = serializers.AssetSimpleSerializer
|
serializer_class = serializers.AssetSimpleSerializer
|
||||||
filter_fields = ("hostname", "ip")
|
filter_fields = ("hostname", "ip")
|
||||||
http_method_names = ['get']
|
|
||||||
search_fields = filter_fields
|
search_fields = filter_fields
|
||||||
|
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
|
|
Loading…
Reference in New Issue