mirror of https://github.com/jumpserver/jumpserver
feat: 资产授权支持按名称模糊搜索
parent
cd9587f68e
commit
f361621ab5
|
@ -20,3 +20,4 @@ class AssetPermissionViewSet(OrgBulkModelViewSet):
|
|||
model = AssetPermission
|
||||
serializer_class = serializers.AssetPermissionSerializer
|
||||
filterset_class = AssetPermissionFilter
|
||||
search_fields = ('name',)
|
||||
|
|
Loading…
Reference in New Issue