about summary refs log tree commit diff
path: root/gn_auth/errors
diff options
context:
space:
mode:
authorClaude2026-08-31 00:00:00 +0000
committerFrederick Muriuki Muriithi2026-08-31 14:18:32 -0500
commit39e1178350ade05d75c2d13232f85b8ae17690c1 (patch)
tree0f15b516dd9add19626b2a13c14df3f174068419 /gn_auth/errors
parentcbc0228aef7ca7f39d6649171a523474869a57c7 (diff)
downloadgn-auth-39e1178350ade05d75c2d13232f85b8ae17690c1.tar.gz
refactor(admin/users): replace authorised_for2 with can_create_or_delete_user
Use gn-libs' can_create_or_delete_user() + user_roles_on_system() for the
privilege check in delete_users(), matching the pattern already used by
create_user().

Removes the authorised_for2, system_resource, and AuthorisationError
imports that are no longer needed.

Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'gn_auth/errors')
0 files changed, 0 insertions, 0 deletions