revert to ReadProtectedViewset

This commit is contained in:
Pierre-antoine Comby 2020-03-27 13:26:47 +01:00
parent c50e17c555
commit a3a8fd601c
1 changed files with 1 additions and 1 deletions

View File

@ -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,