diff --git a/downtime/settings.py b/downtime/settings.py index 2b0a0fd..e28bbf7 100644 --- a/downtime/settings.py +++ b/downtime/settings.py @@ -122,7 +122,7 @@ 'ocs_authentication.backends.OCSTokenAuthentication', # Allows authentication against Oauth Servers api_token 'rest_framework.authentication.SessionAuthentication', ), - 'DEFAULT_PERMISSION_CLASSES': ('ocs_authentication.permissions.IsAdminOrReadOnly',), + 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticatedOrReadOnly',), 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.NamespaceVersioning', 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',