aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth
AgeCommit message (Expand)Author
2023-09-05Fix C3001: Lambda expression assigned to a variableMunyoki Kilyungi
2023-05-30Fix linting errors and failing testsFrederick Muriuki Muriithi
2023-05-25Set whether resource is publicly viewable on creationFrederick Muriuki Muriithi
2023-04-25auth: Roles: Check for editabilityFrederick Muriuki Muriithi
2023-04-10Migrations for linking genotype files.Frederick Muriuki Muriithi
2023-04-04Add tables to link genotype dataFrederick Muriuki Muriithi
2023-03-22auth: Remove the tables used for linking data to resourcesFrederick Muriuki Muriithi
2023-03-09auth: redis data: migrate data in redisFrederick Muriuki Muriithi
2023-03-08auth: users: Use the same basic functions for password hashingFrederick Muriuki Muriithi
2023-03-06auth: privileges/roles: fix issues caught by tests.Frederick Muriuki Muriithi
2023-02-21auth: migrations: Link to data in main dbFrederick Muriuki Muriithi
2023-02-10Return empty tuple rather than NothingFrederick Muriuki Muriithi
2023-02-08auth: groups: handle join requests.Frederick Muriuki Muriithi
2023-02-07auth: groups: Enable users to request to join group.Frederick Muriuki Muriithi
2023-02-06auth: resource: Enable viewing the details of a resource.Frederick Muriuki Muriithi
2023-02-03auth: tests: mock token acquisition. Fix minor bugs.Frederick Muriuki Muriithi
2023-02-02auth: Reorganise modules/packages for easier dev and maintenanceFrederick Muriuki Muriithi
2023-01-23auth: create group: Fix group creation.Frederick Muriuki Muriithi
2023-01-21tests: roles - Extract values from Maybe objectFrederick Muriuki Muriithi
2023-01-18auth: Fix tests after enforcing FOREIGN KEY constraintFrederick Muriuki Muriithi
2023-01-16auth: update privileges formatFrederick Muriuki Muriithi
2023-01-11auth: assign default role. separate group creation from group adminFrederick Muriuki Muriithi
2023-01-03auth: Fetch all of a user's roles.Frederick Muriuki Muriithi
2023-01-03auth: rename fixtures: test_* -> fxtr_*Frederick Muriuki Muriithi
2022-12-22tests: Setup environment variables and configsFrederick Muriuki Muriithi
2022-12-22auth: implement OAuth2 flow.oauth2_auth_flowFrederick Muriuki Muriithi
2022-12-21migrations: create the authorisation_code tableFrederick Muriuki Muriithi
2022-12-21migrations: create oauth2_tokens tableFrederick Muriuki Muriithi
2022-12-21migrations: New migrationFrederick Muriuki Muriithi
2022-12-12tests: Update fixtures to use for testing resources functionsFrederick Muriuki Muriithi
2022-12-12auth: pass cursor object to `user_group` functionFrederick Muriuki Muriithi
2022-12-12auth: Attach group to GroupRole, rather than group_idFrederick Muriuki Muriithi
2022-12-12tests: Reorganise fixturesFrederick Muriuki Muriithi
2022-12-08auth: test for `user_resources` function (incomplete)Frederick Muriuki Muriithi
2022-12-08tests: Fix issues caught by testsFrederick Muriuki Muriithi
2022-12-08auth: add test to retrieve public resourcesFrederick Muriuki Muriithi
2022-12-08auth: add function to retrieve a user's groupFrederick Muriuki Muriithi
2022-12-08migrations: Add column `public` to `resources` tableFrederick Muriuki Muriithi
2022-12-06migrations: Add `group_user_roles_on_resources` tableFrederick Muriuki Muriithi
2022-11-24auth: Check for authentication and fix errorsFrederick Muriuki Muriithi
2022-11-24auth: Implement `create_resource` functionFrederick Muriuki Muriithi
2022-11-24tests: Add test for `create_resource`Frederick Muriuki Muriithi
2022-11-21auth: Prevent group leader from being a member of multiple groupsFrederick Muriuki Muriithi
2022-11-17auth: Finish implementation of `create_group_role`Frederick Muriuki Muriithi
2022-11-17Migrations: Create `group_users` tableFrederick Muriuki Muriithi
2022-11-17tests: Add test to check creation of roles attached to groupsFrederick Muriuki Muriithi
2022-11-17Tests: Make test failure messages clearer.Frederick Muriuki Muriithi
2022-11-17Migrations: Add column `group_role_id` to `group_roles` tableFrederick Muriuki Muriithi
2022-11-17tests: test for addition of data to non-empty tableFrederick Muriuki Muriithi
2022-11-16pylint: fix some linting errorsFrederick Muriuki Muriithi