Skip to content

Commit

Permalink
[Fixes #11995] GNIP 99: Implement a CRUD REST API for users
Browse files Browse the repository at this point in the history
  • Loading branch information
RegisSinjari committed Mar 21, 2024
1 parent 7081acf commit 82584b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geonode/people/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def remove_from_group_manager(self, request, pk=None):
return Response(payload, status=400)
return Response(payload, status=200)

@action(detail=True, methods=["post"])
def transfer_resources(self, request, pk=None):
user = self.get_object()
admin = get_user_model().objects.filter(is_superuser=True, is_staff=True).first()
Expand Down

0 comments on commit 82584b5

Please sign in to comment.