diff options
author | Frederick Muriuki Muriithi | 2023-02-08 17:24:35 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-02-08 17:44:50 +0300 |
commit | 9b94ec57c504acb6ef815d134144c4c357c71f17 (patch) | |
tree | 3bf1647953956e6abada8344fabeb87ef526e731 /gn3/auth/authorisation/checks.py | |
parent | 87586bd5270140bf52d39d3dc61c754dd13d4391 (diff) | |
download | genenetwork3-9b94ec57c504acb6ef815d134144c4c357c71f17.tar.gz |
auth: groups: handle join requests.
Diffstat (limited to 'gn3/auth/authorisation/checks.py')
-rw-r--r-- | gn3/auth/authorisation/checks.py | 2 |
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"): |