We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35eeec0 commit 89add4aCopy full SHA for 89add4a
src/backend/joanie/core/api/admin/__init__.py
@@ -41,14 +41,6 @@ class OrganizationViewSet(viewsets.ModelViewSet):
41
filterset_class = filters.OrganizationAdminFilterSet
42
ordering_fields = ["created_on"]
43
44
- def get_permissions(self):
45
- """
46
- Instantiates and returns the list of permissions that this view requires.
47
48
- if self.action in ["list", "retrieve"]:
49
- return [permissions.IsAdminUser()]
50
- return super().get_permissions()
51
-
52
def get_serializer_class(self):
53
"""
54
Return the serializer class to use depending on the action.
0 commit comments