调整defaultpermission class
This commit is contained in:
parent
2f5d672736
commit
cee38849dd
|
@ -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': [
|
||||
|
|
Loading…
Reference in New Issue