Skip to content
Snippets Groups Projects
Commit a3a8fd60 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

revert to ReadProtectedViewset

parent c50e17c5
1 merge request!70Finitions sur l'interface club
Pipeline #8048 passed with warnings with stages
in 4 minutes and 18 seconds
......@@ -45,7 +45,7 @@ class NotePolymorphicViewSet(ReadOnlyProtectedModelViewSet):
return queryset.distinct()
class AliasViewSet(viewsets.ModelViewSet):
class AliasViewSet(ReadProtectedModelViewSet):
"""
REST API View set.
The djangorestframework plugin will get all `Alias` objects, serialize it to JSON with the given serializer,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment