| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 18 hours | Use AuthorisationError to indicate error condition. HEAD main | Frederick Muriuki Muriithi | |
| 18 hours | Replace hard-coded email check with check against privileges | Frederick Muriuki Muriithi | |
| Fix the check: rather than using a hard-coded email to check for authorisation, we instead check against the privileges the user has on the resource, or whether they have global privileges allowing them to act on any data. | |||
| 18 hours | Fetch a single resource ID: delete data from one resource at a time. | Frederick Muriuki Muriithi | |
| 21 hours | Add new 'systemwide-data-curator' role. | Frederick Muriuki Muriithi | |
| Add a new role named 'systemwide-data-curator' that is able to edit and/or delete any data on the system regardless of who own it. | |||
| 8 days | Add placeholder check for privileges | Frederick Muriuki Muriithi | |
| For now, only one user is allowed to delete data from Genenetwork. To get the code online as quickly as possible, in order to test out the system, I have elected to do a quick and dirty check that prevents everyone except @acenteno from being able to delete data from the system. To fix this, I'll need to actually implement (a) new role(s) to grant certain users special permissions on **ALL** the data in the system regardless of who owns it. | |||
| 10 days | Reapply "Channel - guix-bioinformatics: Upgrade to commit 9b0955f." | Frederick Muriuki Muriithi | |
| This reverts commit 47e025d91330f40ccffe56a17c57f62bbea70b55. | |||
| 10 days | Channels: Fix commits of upstream channels to prevent build failures | Frederick Muriuki Muriithi | |
| * guix-past: Fix to commit 473c942. * guix-rust-past-crates: Fix to commit b8b7ffb. | |||
| 10 days | Revert "Channel - guix-bioinformatics: Upgrade to commit 9b0955f." | Frederick Muriuki Muriithi | |
| The guix-bioinformatics commit 9b0955f leads to a cascade of breakages. I am thus reverting this commit to restore a previous sane state. This reverts commit 254ded2ec5fb412c2ba33a72f72bbed29fb7d9bc. | |||
| 10 days | Channel - guix-bioinformatics: Upgrade to commit 9b0955f. | Frederick Muriuki Muriithi | |
| Update the commit for the guix bioinformatics channel to fit in with @mbonz update at https://git.genenetwork.org/gn-machines/commit/?id=04c2a18f615bc0a387235544433989af2e8cb62b | |||
| 11 days | Leave notes for tasks that need doing. | Frederick Muriuki Muriithi | |
| 11 days | Proof-of-concept: Delete linked phenotype data. | Frederick Muriuki Muriithi | |
| 11 days | Simplify relative import. | Frederick Muriuki Muriithi | |
| 2025-12-29 | `system_resource(...)` function takes either connection or cursor | Frederick Muriuki Muriithi | |
| Refactor to allow the `gn_auth.auth.authorisation.resources.system.models.system_resource` function to take either a database connection or cursor and use that to retrieve the "system resource". | |||
| 2025-12-29 | `create_resource(...)` function takes either connection or cursor | Frederick Muriuki Muriithi | |
| Refactor to allow the `gn_auth.auth.authorisation.resources.models.create_resource` function to take either a database connection or cursor to perform its tasks. | |||
| 2025-12-15 | Fix issues caught by mypy. | Frederick Muriuki Muriithi | |
| 2025-12-15 | Explicitly include all channel dependencies. | Frederick Muriuki Muriithi | |
| There's a bug in guix where if we declare a that channel C depends on channel B, and channel B happens to rely on channel A, then channel A is not propagated for C, leading to build failures. | |||
| 2025-12-15 | Trigger Build | Frederick Muriuki Muriithi | |
| 2025-12-15 | Update channel dependencies: Use only `gn-machines`. | Frederick Muriuki Muriithi | |
| 2025-12-15 | Revert "Add pinned 'guix channel to gn-auth's channel." | Frederick Muriuki Muriithi | |
| This reverts commit bb56c3d6a1bb2c9d4b3a94750a9049bcdf9cbc29. We do not pin the channel dependencies here — we pin the channel dependencies at the point of use, a.k.a gn-machines. | |||
| 2025-12-15 | Use package definition in gn-machines | Frederick Muriuki Muriithi | |
| Use the package definition in gn-machines rather than that in guix-bioinformatics in order to ensure that we have the latest dependencies. | |||
| 2025-12-09 | Add pinned 'guix channel to gn-auth's channel. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-12-03 | Improve error messaging. | Frederick Muriuki Muriithi | |
| 2025-12-03 | Add endpoint for getting user details, given user ID | zsloan | |
| 2025-11-11 | Update channels. | Munyoki Kilyungi | |
| Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | |||
| 2025-10-06 | flask-cors: Remove minimum version pinning. | Frederick Muriuki Muriithi | |
| The build was failing with ``` ContextualVersionConflict(flask-cors 0.0.1 ... Requirement.parse('flask-cors>=3.0.9'), {'gn-auth'}) ``` | |||
| 2025-07-31 | Clean up data on group deletion. | 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 | Add type-hinting to the top-level exception handler. | Frederick Muriuki Muriithi | |
| 2025-07-31 | Set HTTP response code from the exception if present. | 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-31 | Add sysadmin-level privileges for user management. | 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 | Use provided functions to add warnings filters. | 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 | Add global configurations for warnings filters. | Frederick Muriuki Muriithi | |
| 2025-07-30 | Rename function, retaining some backwards compatibility. | Frederick Muriuki Muriithi | |
