about summary refs log tree commit diff
path: root/gn_auth/auth/authorisation/users/admin/models.py
AgeCommit message (Collapse)Author
2025-07-30Type-Check fix: Function does not return anything.Frederick Muriuki Muriithi
2025-07-30Implement revocation of `system-administrator` role.Frederick Muriuki Muriithi
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-30Rename function, retaining some backwards compatibility.Frederick Muriuki Muriithi
2025-07-30Function to fetch the `system-administrator` role details from db.Frederick Muriuki Muriithi
2023-11-22Move system admin creationFrederick Muriuki Muriithi
Make the system admin creation code part of the core system, and simply call it from the script(s). This will help with maintenance, since the changes are done in a single place only.