aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/users
AgeCommit message (Expand)Author
2024-02-28Handle the "NotFoundError" exception at the route level...Handle the "NotFoundError" exception at the route level, since if we do not, the application level handler takes over and simply returns a JSON response with the details of the failure. Frederick Muriuki Muriithi
2023-12-18Provide the correct Redis key...Previously, when the user would request to either import or delete the collections they had created before logging in, the system would try deleting the collections from the wrong key, leading to the collections still showing up. This commit fixes that by providing the code with the correct Redis key to act upon. Frederick Muriuki Muriithi
2023-11-22Move system admin creation...Make the system admin creation code part of the core system, and simply call it from the script(s). This will help with maintenance, since the changes are done in a single place only. Frederick Muriuki Muriithi
2023-11-13Update check for adminsFrederick Muriuki Muriithi
2023-10-12Bugs: Fix query and provide default function for inbredset-groupFrederick Muriuki Muriithi
2023-09-26Update /roles endpoint: rework code for new `user_roles` function...The way the `gn_auth.auth.authorisation.roles.models.user_roles` function works has changed: this commit updates the code to take that into consideration and fix any errors. Frederick Muriuki Muriithi
2023-09-26Move `groups` package under `resources` package...With user groups being resources that users can act on (with the recent changes), this commit moves the `groups` module to under the `resources` module. It also renames the `*_resources.py` modules by dropping the `_resources` part since the code is under the `resources` module anyway. Frederick Muriuki Muriithi
2023-08-08Use relative imports to break circular import errorsFrederick Muriuki Muriithi
2023-08-07Change imports to new unified db module.Frederick Muriuki Muriithi
2023-08-07Update module name/path...Change from gn3 to gn_auth Frederick Muriuki Muriithi
2023-08-04Copy over files from GN3 repository.Frederick Muriuki Muriithi