about summary refs log tree commit diff
path: root/gn_libs/privileges
AgeCommit message (Collapse)Author
2026-05-14Separate checking of system and resource privileges.Frederick Muriuki Muriithi
Merging the resource and system privileges before checking leads to some subtle bugs. This commit separates the checking of the two.
2026-05-13Remove administrative-specific privileges.Frederick Muriuki Muriithi
The `system:resource:[view/edit/delete]` privileges are administrative and checking for them here is a bug. It exposes data publicly.
2026-04-23Add privileges checks for system-level actions.Frederick Muriuki Muriithi
2026-04-22Add check for batch-edit privileges.Frederick Muriuki Muriithi
2026-04-01Fix minor code issues caught by the linter.Frederick Muriuki Muriithi
2026-03-31Check for applying/rejecting edits for resources requiring review.Frederick Muriuki Muriithi
Some resources, when edited by a user, might require that those changes be reviewed and either applied or rejected by a different reviewer.
2026-03-31Enforce the following invariants for roles/privileges:Frederick Muriuki Muriithi
* "Creators" can ONLY create * "Viewers" can ONLY view * "Editors" can view AND edit * "Deletors" Can view AND edit AND delete
2026-03-31Rename module and add privileges to checks.Frederick Muriuki Muriithi
* checks.py --> resources.py * Add privileges for InbredSet groups editing.
2026-03-31Move generalised checker function to the authspec module.Frederick Muriuki Muriithi
2026-03-31Delete unused class.Frederick Muriuki Muriithi
2026-03-30Add checks for privileges.Frederick Muriuki Muriithi
* Make privileges a package rather than a module and rename previous module. * Add generic checks for most-common features of the system.