about summary refs log tree commit diff
path: root/gn_auth/auth/authorisation
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-12-03 13:34:57 -0600
committerFrederick Muriuki Muriithi2025-12-03 13:34:57 -0600
commit5823b0aaa411748bd361d23ad6eb07c2a3604dbf (patch)
treeee909ad5c34ea6e54a3efb859ca52212bdf3e570 /gn_auth/auth/authorisation
parentbde56debe8799bdf2005a81d6e621cec5a3e6e23 (diff)
downloadgn-auth-5823b0aaa411748bd361d23ad6eb07c2a3604dbf.tar.gz
Improve error messaging. HEAD main
Diffstat (limited to 'gn_auth/auth/authorisation')
-rw-r--r--gn_auth/auth/authorisation/resources/groups/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn_auth/auth/authorisation/resources/groups/models.py b/gn_auth/auth/authorisation/resources/groups/models.py
index a1937ce..6a7af4c 100644
--- a/gn_auth/auth/authorisation/resources/groups/models.py
+++ b/gn_auth/auth/authorisation/resources/groups/models.py
@@ -428,8 +428,8 @@ gjr.status='PENDING'",
             return tuple(dict(row)for row in cursor.fetchall())
 
     raise AuthorisationError(
-        "You do not have the appropriate authorisation to access the "
-        "group's join requests.")
+        "You need to be the group's leader in order to access the group's join "
+        "requests.")
 
 
 @authorised_p(("system:group:view-group", "system:group:edit-group"),