From cee38849ddb40f1b0b6cdabe78469ca7b84cafef Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 25 Feb 2022 08:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4defaultpermission=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/server/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hb_server/server/settings.py b/hb_server/server/settings.py index 1a4a5c6..d0fdffa 100644 --- a/hb_server/server/settings.py +++ b/hb_server/server/settings.py @@ -158,7 +158,7 @@ REST_FRAMEWORK = { 'rest_framework.authentication.SessionAuthentication', ], 'DEFAULT_PERMISSION_CLASSES': [ - # 'rest_framework.permissions.IsAuthenticated', + 'rest_framework.permissions.AllowAny', 'apps.system.permission.RbacPermission' ], 'DEFAULT_RENDERER_CLASSES': [