Allow members to view shelves

This commit is contained in:
Tanner Collin 2023-06-15 02:08:26 +00:00
parent d1e128d708
commit 4a4c358eb3

View File

@ -1790,7 +1790,7 @@ class HostingViewSet(Base):
class StorageSpaceViewSet(Base, List, Retrieve, Update):
permission_classes = [AllowMetadata | IsAdmin]
permission_classes = [AllowMetadata | IsAuthenticated, IsAdminOrReadOnly]
queryset = models.StorageSpace.objects.all().order_by('id')
serializer_class = serializers.StorageSpaceSerializer