diff --git a/siteroot/settings/base.py b/siteroot/settings/base.py index 535c667..e59d42d 100644 --- a/siteroot/settings/base.py +++ b/siteroot/settings/base.py @@ -151,6 +151,9 @@ REST_FRAMEWORK = { 'rest_framework.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication', ], + 'DEFAULT_PERMISSION_CLASSES': [ + 'rest_framework.permissions.IsAuthenticated' + ], 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 100 }