Skip to content

Commit

Permalink
fix: LSDV-5424-4: Fix users API permissions (#4577)
Browse files Browse the repository at this point in the history
  • Loading branch information
triklozoid committed Aug 2, 2023
1 parent 704e2c1 commit aaac067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion label_studio/users/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
class UserAPI(viewsets.ModelViewSet):
serializer_class = UserSerializer
permission_required = ViewClassPermission(
GET=all_permissions.organizations_view,
GET=all_permissions.organizations_change,
PUT=all_permissions.organizations_change,
POST=all_permissions.organizations_change,
PATCH=all_permissions.organizations_view,
Expand Down

0 comments on commit aaac067

Please sign in to comment.