aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources
AgeCommit message (Expand)Author
2024-06-11List users assigned a particular role on a specific resource.handle-role-privilege-escalationFrederick Muriuki Muriithi
2024-06-11Import the symbols we use in the module directly.Frederick Muriuki Muriithi
2024-06-11Unassign privilege from resource role.Frederick Muriuki Muriithi
2024-06-10Fetch a role by its ID.Frederick Muriuki Muriithi
2024-06-10Use new db resultset conversion functions.Frederick Muriuki Muriithi
2024-06-10Provide resource roles endpointFrederick Muriuki Muriithi
2024-06-10Share reusable functionFrederick Muriuki Muriithi
2024-06-07Replace `…/group/roles` endpoint with `…/resource/…/roles` endpoint.Frederick Muriuki Muriithi
2024-06-07Update role assignment: user resource_roles tableFrederick Muriuki Muriithi
2024-06-06Add deprecation warning to /group-privileges endpoint function.Frederick Muriuki Muriithi
2024-06-05Bug: Point to correct key to avoid errorsFrederick Muriuki Muriithi
2024-06-03Move user creation from db resultset into static methodFrederick Muriuki Muriithi
2024-04-30Create a JWT token when querying a user's role an a resource.Munyoki Kilyungi
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-04-02Remove unused group argument.Frederick Muriuki Muriithi
2024-03-30Update call: Drop unused argument in call.Frederick Muriuki Muriithi
2024-03-25Flatten roles list in "get_user_roles_on_resource."Munyoki Kilyungi
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-13Remove unused imports.Munyoki Kilyungi
2024-03-13Define Resource/ResourceCategory using frozen dataclass.Munyoki Kilyungi
2024-03-13Auto-pep8 this file.Munyoki Kilyungi
2024-03-13Define Privilege/Role using frozen dataclass.Munyoki Kilyungi
2024-03-13Define GroupRole using frozen dataclass.Munyoki Kilyungi
2024-03-13Define Group using a 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-11-02pylint: Fix linting 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-10-09Fetch InbredSet group resource ID by SpeciesId and InbredSetIdFrederick Muriuki Muriithi
2023-09-27typing: fix and ignore typing issues.Frederick Muriuki Muriithi
2023-09-27linting: Remove unused import, handle unused variableFrederick Muriuki Muriithi
2023-09-27Bug: Fix issue with viewing resources of type "group".Frederick Muriuki Muriithi
2023-09-26Update queryFrederick Muriuki Muriithi
2023-09-26Handle temporary edge casesFrederick Muriuki Muriithi
2023-09-26Add `public-view` role. Assign it to users.Frederick Muriuki Muriithi
2023-09-26Initialise package to handle resources of type "system".Frederick 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