Anonymous users don't have any access to the API (fix it later with rights...), fix CI
This commit is contained in:
parent
be877276f8
commit
0f1d662d25
3 changed files with 4 additions and 4 deletions
|
|
@ -137,7 +137,7 @@ REST_FRAMEWORK = {
|
|||
# or allow read-only access for unauthenticated users.
|
||||
'DEFAULT_PERMISSION_CLASSES': [
|
||||
# TODO Maybe replace it with our custom permissions system
|
||||
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
||||
'rest_framework.permissions.DjangoModelPermissions'
|
||||
],
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue