From 90df4049319f3ff082f9b638805a3f166b56bb5c Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 11 Dec 2020 19:01:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dswagger=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/api/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/perms/api/base.py b/apps/perms/api/base.py index 61caab19c..b56c161d7 100644 --- a/apps/perms/api/base.py +++ b/apps/perms/api/base.py @@ -15,7 +15,7 @@ __all__ = [ class BasePermissionViewSet(OrgBulkModelViewSet): custom_filter_fields = [ - 'user_id', 'username', 'search', 'system_user_id', 'system_user', + 'user_id', 'username', 'system_user_id', 'system_user', 'user_group_id', 'user_group' ] permission_classes = (IsOrgAdmin,)