feat: 资产授权支持按名称模糊搜索

pull/5912/head
xinwen 2021-04-06 19:43:37 +08:00 committed by 老广
parent cd9587f68e
commit f361621ab5
1 changed files with 1 additions and 0 deletions

View File

@ -20,3 +20,4 @@ class AssetPermissionViewSet(OrgBulkModelViewSet):
model = AssetPermission
serializer_class = serializers.AssetPermissionSerializer
filterset_class = AssetPermissionFilter
search_fields = ('name',)