Skip to content
Snippets Groups Projects
Verified Commit f8214f94 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Any authenticated user can use create or update images

parent bffa0207
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ class APIUserViewSet(
class APIImageViewSet(viewsets.ModelViewSet):
queryset = Image.objects.all()
serializer_class = ImageSerializer
permission_classes = [permissions.DjangoModelPermissionsOrAnonReadOnly]
permission_classes = [permissions.IsAuthenticated]
pagination_class = LimitOffsetPagination
def get_queryset(self):
......
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