aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authorisation/resources/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/views.py b/gn_auth/auth/authorisation/resources/views.py
index 50f0d8e..a98f404 100644
--- a/gn_auth/auth/authorisation/resources/views.py
+++ b/gn_auth/auth/authorisation/resources/views.py
@@ -179,7 +179,7 @@ def resource_users(resource_id: UUID):
the_token.user,
("group:resource:view-resource",),
(resource_id,))
- systemlevelauth = __pk__authorised_for(
+ systemlevelauth = authorised_for(
conn,
the_token.user,
("system:user:list",),