aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/checks.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-02-08 17:24:35 +0300
committerFrederick Muriuki Muriithi2023-02-08 17:44:50 +0300
commit9b94ec57c504acb6ef815d134144c4c357c71f17 (patch)
tree3bf1647953956e6abada8344fabeb87ef526e731 /gn3/auth/authorisation/checks.py
parent87586bd5270140bf52d39d3dc61c754dd13d4391 (diff)
downloadgenenetwork3-9b94ec57c504acb6ef815d134144c4c357c71f17.tar.gz
auth: groups: handle join requests.
Diffstat (limited to 'gn3/auth/authorisation/checks.py')
-rw-r--r--gn3/auth/authorisation/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/authorisation/checks.py b/gn3/auth/authorisation/checks.py
index 36ab5fa..9b0af5f 100644
--- a/gn3/auth/authorisation/checks.py
+++ b/gn3/auth/authorisation/checks.py
@@ -12,7 +12,7 @@ from .errors import AuthorisationError
from ..authentication.oauth2.resource_server import require_oauth
def authorised_p(
- privileges: tuple[str],
+ privileges: tuple[str, ...],
error_description: str = (
"You lack authorisation to perform requested action"),
oauth2_scope = "profile"):