about summary refs log tree commit diff
path: root/gn_auth/auth/authorisation/resources
AgeCommit message (Collapse)Author
2025-12-03Improve error messaging.Frederick Muriuki Muriithi
2025-07-31Clean up data on group deletion.Frederick Muriuki Muriithi
2025-07-31Re-grant access to sysadmin, in case they're removed as group memberFrederick Muriuki Muriithi
2025-07-31Revoke roles a user has on group when they are removed as a member.Frederick Muriuki Muriithi
2025-07-31Check for data inconsistency.Frederick Muriuki Muriithi
2025-07-31Prevent error in case sysadmin user already has accessFrederick Muriuki Muriithi
In case any sysadmin user has access to the resource, we do not want the query failing for other sysadmins.
2025-07-31Grant sysadmins access to user group when its created.Frederick Muriuki Muriithi
2025-07-31Delete a group.Frederick Muriuki Muriithi
2025-07-31Break circular dependency - move utility function to module of use.Frederick Muriuki Muriithi
2025-07-31Add function to retrieve inbredset-group data.Frederick Muriuki Muriithi
2025-07-31Fix query to remove user from group.Frederick Muriuki Muriithi
2025-07-30Provide endpoint to remove a group member.Frederick Muriuki Muriithi
2025-07-30Fix linting errors and typos.Frederick Muriuki Muriithi
2025-07-30Call the correct function.Frederick Muriuki Muriithi
2025-07-30Remove a user from a group as a member.Frederick Muriuki Muriithi
2025-07-30Fetch resource object that wraps the group for authorisationsFrederick Muriuki Muriithi
2025-07-30Don't allow user to create a group when they are a member of anotherFrederick Muriuki Muriithi
When user is made a member of a group, we revoke their ability to create a new group.
2025-07-30Grant user `system-administrator` role on all resourcesFrederick Muriuki Muriithi
During promotion of a user to system admin, grant the user `system-administrator` role on all resources in the system.
2025-07-29Fix issues caught by the type-checker.Frederick Muriuki Muriithi
2025-07-29Fix issues caught by code-linter.Frederick Muriuki Muriithi
2025-07-29Actually delete a resource.Frederick Muriuki Muriithi
2025-07-29Grant sysadmins access to the resource when created.Frederick Muriuki Muriithi
2025-07-29Add function to delete a resource.Frederick Muriuki Muriithi
2025-07-29Add new route for consistency.Frederick Muriuki Muriithi
2025-07-29Refactor: Replace old auth-checking function with spec-based one.Frederick Muriuki Muriithi
2025-07-29Bugfix: Fix typo - we don't pass objects, just their IDs.Frederick Muriuki Muriithi
2025-07-29Assign now system-wide resource-access privileges to sysadmins.Frederick Muriuki Muriithi
2025-07-29Add system-wide resource-access privileges for system administratorsFrederick Muriuki Muriithi
System administrators need to access, and modify the resources in the system, and to do that, we need to grant them specific privileges to check against. These privileges act on the wrapper resource objects, not necessarily the data attached to the resource object.
2025-07-29Deprecate older authorisation-checking functions.Frederick Muriuki Muriithi
2025-07-29Import entire uuid module rather than specific symbols.Frederick Muriuki Muriithi
2025-07-29Create outline for deleting user groups from the auth server.Frederick Muriuki Muriithi
2025-07-29Add spec-based authorisation checker function.Frederick Muriuki Muriithi
2025-07-16Implement initial views into the groups endpoints.Frederick Muriuki Muriithi
2025-07-09Fix some linting issues.Frederick Muriuki Muriithi
2025-07-08Provide zero counts for all and filtered totals.Frederick Muriuki Muriithi
2025-07-08Enable filtering of groups list and length limiting.Frederick Muriuki Muriithi
2025-07-07Enable limiting the number of items returned.Frederick Muriuki Muriithi
2025-06-11Fix code issue caught by type-checker.Frederick Muriuki Muriithi
2025-06-11Fix code issues caught by the linter.Frederick Muriuki Muriithi
2025-06-09Add inbredset-group resource type in unlinked_data functionzsloan
This still needs to be implemented, but this commit prevents the key error
2025-06-09Enable linking multiple data items to a resource in single request.Frederick Muriuki Muriithi
2025-06-09Add function to fetch the wrapper resource for a specific group.Frederick Muriuki Muriithi
2025-06-09Add a function to fetch the system resource.Frederick Muriuki Muriithi
2025-06-09Check for a user's privileges on a particular resource.Frederick Muriuki Muriithi
Add a general function to check that a particular user has certain privileges on a particular resource.
2025-02-26Fix pylint errors.Frederick Muriuki Muriithi
2025-02-17Use default sys-admin group if user is not a member of any group.Frederick Muriuki Muriithi
Instead of failing, assign any population resource to the default system admin group, if the user is not a member of any group.
2025-02-17Provide a way to fetch a system-administrator's group.Frederick Muriuki Muriithi
2024-11-22Use code in gn_libs for MySQL/MariaDB connection.Frederick Muriuki Muriithi
Update the application to use the gn_libs code for connecting to the database, rather than using a local module.
2024-10-09Put routes behind auth.Frederick Muriuki Muriithi
2024-10-03BugFix: Fetch also roles assigned to userFrederick Muriuki Muriithi
When fetching the resource roles, fetch also any roles that are assigned to the user for that resource.