aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/checks.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation/resources/checks.py')
-rw-r--r--gn_auth/auth/authorisation/resources/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/checks.py b/gn_auth/auth/authorisation/resources/checks.py
index ca45a20..5484dbf 100644
--- a/gn_auth/auth/authorisation/resources/checks.py
+++ b/gn_auth/auth/authorisation/resources/checks.py
@@ -71,7 +71,7 @@ def authorised_for2(
"INNER JOIN role_privileges ON roles.role_id=role_privileges.role_id "
"INNER JOIN privileges "
"ON role_privileges.privilege_id=privileges.privilege_id "
- f"WHERE resources.resource_id=? "
+ "WHERE resources.resource_id=? "
"AND user_roles.user_id=?")
cursor.execute(
_query,