aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)Author
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-21gn3: (gn3.random -> gn3.chancy): Rename module to avoid conflicts.Frederick 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-12-06mypy and pylint fixesAlexander_Kabui
2022-12-06remove noisy tests for constant array correlationAlexander_Kabui
2022-12-06update tests for lit correlationAlexander_Kabui
2022-11-29tests: fix failing testFrederick 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-15pylint: Fix linting errors.Frederick 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-14tests: split test app and test clientFrederick Muriuki Muriithi
2022-11-14Migrations: Create `user_roles` tableFrederick Muriuki Muriithi
2022-11-14auth: Add test for `create_group`Frederick Muriuki Muriithi
2022-11-14Migrations: Create the `group-leader` role and give it privilegesFrederick Muriuki Muriithi
2022-11-14Migrations: Create `group_roles` tableFrederick Muriuki Muriithi
2022-11-14Migrations: Drop `generic_role*` tablesFrederick Muriuki Muriithi
2022-11-14Rename files for consistencyFrederick Muriuki Muriithi
2022-11-14Migrations: Add generic_role_privileges tableFrederick Muriuki Muriithi
2022-11-14Migrations: Migration for initial privilegesFrederick Muriuki Muriithi