aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-11 14:04:55 -0500
committerFrederick Muriuki Muriithi2024-06-11 14:04:55 -0500
commit9f1b11d2756010647051bf213ceed3f374524bbb (patch)
treee0d1934fff17a843dd546872a5707adf652c2865 /gn_auth/auth/authorisation/resources
parentafa8a57015a070fbb37a22bca673f77abd6df50b (diff)
downloadgn-auth-9f1b11d2756010647051bf213ceed3f374524bbb.tar.gz
Fix typo.
Diffstat (limited to 'gn_auth/auth/authorisation/resources')
-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",),