aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth
AgeCommit message (Expand)Author
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
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
2022-11-10Migrations: Add columns to 'privileges' tableFrederick Muriuki Muriithi
2022-11-10Tests: Generalise tests for adding/removing columns to/from tablesFrederick Muriuki Muriithi
2022-11-10Migrations: migration for `role_privileges` tableFrederick Muriuki Muriithi
2022-11-10Migrations: migration for 'generic_roles' tableFrederick Muriuki Muriithi
2022-11-10Migrations: migration for 'roles' tableFrederick Muriuki Muriithi
2022-11-10Migrations: migration for 'genotype_resources' tableFrederick Muriuki Muriithi
2022-11-10Migrations: Add migration for 'phenotype_resources' tableFrederick Muriuki Muriithi
2022-11-10Migrations: Add migration for mrna_resources tableFrederick Muriuki Muriithi
2022-11-10Migrations: Add migration for 'resources' tableFrederick Muriuki Muriithi
2022-11-09Migrations: Add `resource_meta` field to `resource_categories` tableFrederick Muriuki Muriithi
2022-11-09Tests: Provide backend fixture to (apply|rollback)_single_migrationFrederick Muriuki Muriithi
2022-11-08Migrations: Improve `resource_categories` data tests.Frederick Muriuki Muriithi
2022-11-08Migrations: Init `resource_categories` with initial categoriesFrederick Muriuki Muriithi
2022-11-08Migrations: Create `resource_categories` table.Frederick Muriuki Muriithi
2022-11-08Migrations: Create `privileges` table.Frederick Muriuki Muriithi
2022-11-08Tests: Fix test name.Frederick Muriuki Muriithi