diff --git a/geonode/people/views.py b/geonode/people/views.py index be548a7ac22..2b4863ce913 100644 --- a/geonode/people/views.py +++ b/geonode/people/views.py @@ -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()