diff --git a/scipost_django/colleges/api/viewsets.py b/scipost_django/colleges/api/viewsets.py index b524817cdc397f6726f1aca71102b524a50ff8f1..c7d080c86939a53ec741854c9af506c40235cd99 100644 --- a/scipost_django/colleges/api/viewsets.py +++ b/scipost_django/colleges/api/viewsets.py @@ -2,6 +2,8 @@ __copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)" __license__ = "AGPL v3" +from rest_framework.permissions import AllowAny + from api.viewsets.base import ExtraFilteredReadOnlyModelViewSet from api.viewsets.mixins import FilteringOptionsActionMixin @@ -14,6 +16,9 @@ class FellowshipPublicAPIViewSet( FilteringOptionsActionMixin, ExtraFilteredReadOnlyModelViewSet ): queryset = Fellowship.objects.all() + permission_classes = [ + AllowAny, + ] serializer_class = FellowshipPublicAPISerializer search_fields = [ "first_name",