about summary refs log tree commit diff
path: root/gn_auth/auth
diff options
context:
space:
mode:
authorClaude Sonnet 4.62026-06-02 00:00:00 +0000
committerFrederick Muriuki Muriithi2026-06-02 14:18:37 -0500
commit2691578edfc84817d9a9aafb35e3e29d04d2613e (patch)
treec2f190d2a3de81a7c5ef39dfe5e01f1955e3d89d /gn_auth/auth
parent0a85369b7e423cfd1eee0ab52f2e456bd42b68b8 (diff)
downloadgn-auth-2691578edfc84817d9a9aafb35e3e29d04d2613e.tar.gz
wsgi: add create-users CLI command
Add a general-purpose `create-users` command that creates one or more
users with explicitly specified name, email, password and role.

Supported roles: system-admin (assigns default roles plus
grant_sysadmin_role), none (assigns default roles only).

Output is written as JSON to a file (with 0600 permissions) or stdout.
Helper functions __parse_user_spec__ and __write_output__ are factored
out for reuse by the forthcoming create-test-users command.
Diffstat (limited to 'gn_auth/auth')
0 files changed, 0 insertions, 0 deletions