aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth
AgeCommit message (Expand)Author
2023-11-28Remove bcrypt as a dependency...BCrypt has been superceded by argon, and this commit removes it and all code depending on it from the repository. Frederick Muriuki Muriithi
2023-10-02migrations: New migration - InbredSet Resources...Provide a new migration to create tables to handle the InbredSet resources. The migration also sets up the resource category and the related privileges. Frederick Muriuki Muriithi
2023-09-26Add System resource, and group resource(s) to list of user resources...* The system resource is public, and should be present for all users. * Each user that is a member of a group, should have their group show up in their list of resources. * Fix the SQL join: add an `ON ...` clause. Frederick Muriuki Muriithi
2023-09-26Update `user_roles`: Return roles for user by resource.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-09-26Update tests & fixtures to conform to schema changesFrederick Muriuki Muriithi
2023-09-26migrations: Create `group_resources` table.Frederick Muriuki Muriithi
2023-09-26Resources refactor: Add `resource_ownership` table...New table to link resources to groups, where relevant. Frederick Muriuki Muriithi
2023-08-23pylint: Replace `lambda ...` statements with `def ...`Frederick Muriuki Muriithi
2023-08-07Fix testsFrederick 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