Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-07-31 | Clean up data on group deletion. HEAD main | Frederick Muriuki Muriithi | |
2025-07-31 | Re-grant access to sysadmin, in case they're removed as group member | Frederick Muriuki Muriithi | |
2025-07-31 | Revoke roles a user has on group when they are removed as a member. | Frederick Muriuki Muriithi | |
2025-07-31 | Check for data inconsistency. | Frederick Muriuki Muriithi | |
2025-07-31 | Prevent error in case sysadmin user already has access | Frederick Muriuki Muriithi | |
In case any sysadmin user has access to the resource, we do not want the query failing for other sysadmins. | |||
2025-07-31 | Grant sysadmins access to user group when its created. | Frederick Muriuki Muriithi | |
2025-07-31 | Delete a group. | Frederick Muriuki Muriithi | |
2025-07-31 | Break circular dependency - move utility function to module of use. | Frederick Muriuki Muriithi | |
2025-07-31 | Add function to retrieve inbredset-group data. | Frederick Muriuki Muriithi | |
2025-07-31 | Fix query to remove user from group. | Frederick Muriuki Muriithi | |
2025-07-30 | Provide endpoint to remove a group member. | Frederick Muriuki Muriithi | |
2025-07-30 | Fix linting errors and typos. | Frederick Muriuki Muriithi | |
2025-07-30 | Call the correct function. | Frederick Muriuki Muriithi | |
2025-07-30 | Type-Check fix: Function does not return anything. | Frederick Muriuki Muriithi | |
2025-07-30 | Remove a user from a group as a member. | Frederick Muriuki Muriithi | |
2025-07-30 | Fetch resource object that wraps the group for authorisations | Frederick Muriuki Muriithi | |
2025-07-30 | Don't allow user to create a group when they are a member of another | Frederick Muriuki Muriithi | |
When user is made a member of a group, we revoke their ability to create a new group. | |||
2025-07-30 | Implement revocation of `system-administrator` role. | Frederick Muriuki Muriithi | |
2025-07-30 | Grant user `system-administrator` role on all resources | Frederick Muriuki Muriithi | |
During promotion of a user to system admin, grant the user `system-administrator` role on all resources in the system. | |||
2025-07-30 | Rename function, retaining some backwards compatibility. | Frederick Muriuki Muriithi | |
2025-07-30 | Function to fetch the `system-administrator` role details from db. | Frederick Muriuki Muriithi | |
2025-07-29 | Fix issues caught by the type-checker. | Frederick Muriuki Muriithi | |
2025-07-29 | Fix issues caught by code-linter. | Frederick Muriuki Muriithi | |
2025-07-29 | Actually delete a resource. | Frederick Muriuki Muriithi | |
2025-07-29 | Grant sysadmins access to the resource when created. | Frederick Muriuki Muriithi | |
2025-07-29 | Add function to delete a resource. | Frederick Muriuki Muriithi | |
2025-07-29 | Add new route for consistency. | Frederick Muriuki Muriithi | |
2025-07-29 | Refactor: Replace old auth-checking function with spec-based one. | Frederick Muriuki Muriithi | |
2025-07-29 | Bugfix: Fix typo - we don't pass objects, just their IDs. | Frederick Muriuki Muriithi | |
2025-07-29 | Assign now system-wide resource-access privileges to sysadmins. | Frederick Muriuki Muriithi | |
2025-07-29 | Add system-wide resource-access privileges for system administrators | Frederick 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-29 | Deprecate older authorisation-checking functions. | Frederick Muriuki Muriithi | |
2025-07-29 | Import entire uuid module rather than specific symbols. | Frederick Muriuki Muriithi | |
2025-07-29 | Create outline for deleting user groups from the auth server. | Frederick Muriuki Muriithi | |
2025-07-29 | Add spec-based authorisation checker function. | Frederick Muriuki Muriithi | |
2025-07-28 | Add group details to masquerade data. | Frederick Muriuki Muriithi | |
2025-07-28 | Only include the group if the user is a member of one. | Frederick Muriuki Muriithi | |
2025-07-17 | Bugfix: remove obsolete variable name. | Frederick Muriuki Muriithi | |
2025-07-17 | Bugfix: Get user IDs from objects. | Frederick Muriuki Muriithi | |
2025-07-17 | Bugfix: Retrieve the reasons, not the entire dict. | Frederick Muriuki Muriithi | |
2025-07-17 | Improve messaging for deletion failures. | Frederick Muriuki Muriithi | |
2025-07-17 | Add note to self for possible "improvement" in user deletion | Frederick Muriuki Muriithi | |
Add a note for considerations to make regarding recovery from error trying to delete users, so we can respond with more informative messages. Here, "improvement" is in quotes, because the priority leans more towards collecting more information for better feedback, which might be at the expense of speed of code. | |||
2025-07-16 | Implement initial views into the groups endpoints. | Frederick Muriuki Muriithi | |
2025-07-16 | Bugfix: Handle possible missing json data. | Frederick Muriuki Muriithi | |
2025-07-09 | Fix some linting issues. | Frederick Muriuki Muriithi | |
2025-07-08 | Provide zero counts for all and filtered totals. | Frederick Muriuki Muriithi | |
2025-07-08 | Enable filtering of groups list and length limiting. | Frederick Muriuki Muriithi | |
2025-07-07 | Enable limiting the number of items returned. | Frederick Muriuki Muriithi | |
2025-07-07 | Check "Content-Type" header. Also process get params. | Frederick Muriuki Muriithi | |
* Use the "Content-Type" value to check whether or not to attempt to read the sent values as json * Process also the get parameter, to allow the endpoints to be slightly more flexible (this probably breaks how HTTP should work). | |||
2025-07-03 | Fix minor issues caught by mypy. | Frederick Muriuki Muriithi | |