调整defaultpermission class

This commit is contained in:
caoqianming 2022-02-25 08:39:48 +08:00
parent 2f5d672736
commit cee38849dd
1 changed files with 1 additions and 1 deletions

View File

@ -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': [