aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/models.py
AgeCommit message (Expand)Author
2024-09-25Extract common role assignment to its own moduleFrederick Muriuki Muriithi
2024-09-16Pass cursor rather than connection to create_resource functionFrederick Muriuki Muriithi
2024-09-13Notes: Add note on some items that could go into hooks.Frederick Muriuki Muriithi
2024-06-25Roles: Get rid of use of GroupRole; use Role directly for resourcesFrederick Muriuki Muriithi
2024-06-20Reorganise test fixtures. Fix tests and issues caught.Frederick Muriuki Muriithi
2024-06-17Don't save the resource-owner role as a resource roleFrederick Muriuki Muriithi
2024-06-07Update role assignment: user resource_roles tableFrederick Muriuki Muriithi
2024-04-24Move the errors module up one level to break circular dependencies.Frederick Muriuki Muriithi
2024-04-23pylint: Fix linting errors.Frederick Muriuki Muriithi
2024-03-30Update call: Drop unused argument in call.Frederick Muriuki Muriithi
2024-03-21Return empty tuples when metadata is queried for data.Munyoki Kilyungi
2024-03-21Add extra endpoint to get user authorisation given a resource name.Munyoki Kilyungi
2024-03-21Revert "Add an extra endpoint for metadata authorisation."Munyoki Kilyungi
2024-03-13Define Resource/ResourceCategory using frozen dataclass.Munyoki Kilyungi
2024-03-13Define Privilege/Role using frozen dataclass.Munyoki Kilyungi
2024-03-13Define User using a frozen dataclass.Munyoki Kilyungi
2024-03-04Add an extra endpoint for metadata authorisation.Munyoki Kilyungi
2023-11-23Scripts: Update script for newer db schemaFrederick Muriuki Muriithi
2023-11-02mypy: Fix typing errors.Frederick Muriuki Muriithi
2023-10-12Bugs: Fix query and provide default function for inbredset-groupFrederick Muriuki Muriithi
2023-10-10Get authorisation by resource_idsFrederick Muriuki Muriithi
2023-10-10Temporarily return no data for resources of types system and group.Frederick Muriuki Muriithi
2023-09-27typing: fix and ignore typing issues.Frederick Muriuki Muriithi
2023-09-27Bug: Fix issue with viewing resources of type "group".Frederick Muriuki Muriithi
2023-09-26Handle temporary edge casesFrederick Muriuki Muriithi
2023-09-26Add System resource, and group resource(s) to list of user resourcesFrederick Muriuki Muriithi
2023-09-26Move `groups` package under `resources` packageFrederick Muriuki Muriithi
2023-09-26Remove group from resource objectsFrederick Muriuki Muriithi
2023-09-26Raise exception if no group for `resource_group`Frederick Muriuki Muriithi
2023-09-26Add `resource_group` function to retrieve the owning groupFrederick Muriuki Muriithi
2023-09-26Extract resource-type-specific code into separate modulesFrederick Muriuki Muriithi
2023-09-26Extract basic resource types to a separate module.Frederick Muriuki Muriithi
2023-08-08Use relative imports to break circular import errorsFrederick Muriuki Muriithi
2023-08-07Change imports to new unified db module.Frederick Muriuki Muriithi
2023-08-07Update module name/pathFrederick Muriuki Muriithi
2023-08-04Copy over files from GN3 repository.Frederick Muriuki Muriithi