diff options
| author | Claude | 2026-08-31 00:00:00 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-08-31 14:18:32 -0500 |
| commit | 39e1178350ade05d75c2d13232f85b8ae17690c1 (patch) | |
| tree | 0f15b516dd9add19626b2a13c14df3f174068419 /gn_auth/errors | |
| parent | cbc0228aef7ca7f39d6649171a523474869a57c7 (diff) | |
| download | gn-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
