aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth
AgeCommit message (Expand)Author
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
2022-11-16tests: Add tests for privilegesFrederick Muriuki Muriithi
2022-11-16auth: fix bugs in the codeFrederick Muriuki Muriithi
2022-11-16tests: Test role creationFrederick Muriuki Muriithi
2022-11-15auth: Return results of calling function directlyFrederick Muriuki Muriithi
2022-11-15Add missing module __init__.py to mitigate the mypy errorsFrederick Muriuki Muriithi
2022-11-15pylint: Fix a myriad of linting errorsFrederick Muriuki Muriithi
2022-11-15tests: typo: fix migration script file nameFrederick Muriuki Muriithi
2022-11-15tests: Use `gn3.auth.db` functions for db connection and cursorFrederick Muriuki Muriithi
2022-11-15tests: Fix cause of `DeprecationWarning`Frederick Muriuki Muriithi
2022-11-14auth: Implement `create_group`Frederick Muriuki Muriithi
2022-11-14Migrations: Create `user_roles` tableFrederick Muriuki Muriithi