Skip to content

Commit 21f0b7e

Browse files
committed
Update permission
1 parent d63630c commit 21f0b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/api/v3/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ class OrganizationsProjectsViewSet(APIv3Settings, NestedViewSetMixin,
436436
lookup_url_kwarg = 'project_slug'
437437
queryset = Project.objects.all()
438438
serializer_class = ProjectSerializer
439-
permission_classes = [IsProjectAdmin]
439+
permission_classes = [IsOrganizationAdminMember]
440440
permit_list_expands = [
441441
'organization',
442442
'organization.teams',

0 commit comments

Comments
 (0)