aboutsummaryrefslogtreecommitdiff
path: root/uploader/authorisation.py
AgeCommit message (Collapse)Author
2024-09-04Introduce wrapper that validates tokensFrederick Muriuki Muriithi
Validate token and pass it on to functions that require more fine-grained authorisation checks.
2024-08-08Fix linting issues.Frederick Muriuki Muriithi
2024-08-06Avoid hitting auth server to check for tokenFrederick Muriuki Muriithi
If the user is already logged in, they will have a token. Whether a token is valid or not should be handled elsewhere, not with every single request to gn-uploader, whether or not it requires to access the auth server.
2024-07-26authorisation module: utilities for basic authorisation.Frederick Muriuki Muriithi