Commit 0dc74f89 authored by okhin's avatar okhin 🚴

We want to authorized non authenticated read only access to the API

parent 40dd8e71
Pipeline #2491 passed with stages
in 3 minutes
......@@ -8,7 +8,7 @@ REST_FRAMEWORK = {
"PAGE_SIZE": 20,
"DEFAULT_PERMISSION_CLASSES": (
"rest_framework.permissions.IsAuthenticated",
"rest_framework.permissions.IsAuthenticatedOrReadOnly",
),
'DEFAULT_AUTHENTICATION_CLASSES': (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment