about summary refs log tree commit diff
path: root/scripts/register_sys_admin.py
AgeCommit message (Collapse)Author
2026-05-21Move scripts to top-level gn_auth package.Frederick Muriuki Muriithi
In preparation for migrating to pyproject.toml (from setup.py and friends) we need to have only one top-level package. This will also help in improving testing and checks down the line, since everything will be relative to one single top-level directory.
2025-05-06Fix failing mypy.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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.
2023-11-17Bug: Update query in scriptFrederick Muriuki Muriithi
Update query in script to provide resource_id for the user_roles tabel.
2023-08-07Add missing modulesFrederick Muriuki Muriithi
Copy over missing modules and functions to completely disconnect gn-auth from GN3.