Skip to content

Commit

Permalink
[Fixes #12512] comment removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Aug 21, 2024
1 parent 089bb06 commit 4e44e69
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geonode/base/api/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,6 @@ def has_permission(self, request, view):

# getting the user permission for that resource
resource_perms = res.get_user_perms(request.user)
# if getattr(res, "get_real_instance", None):
# resource_perms.extend(list(res.get_real_instance().get_user_perms(request.user)))

groups = get_groups_with_perms(res, attach_perms=True)
# we are making this because the request.user.groups sometimes returns empty si is not fully reliable
Expand Down

0 comments on commit 4e44e69

Please sign in to comment.