Overview — what it does
Administration ▸ Users & Roles manages users and teams in InfraGuard's own auth table infr_user (not the legacy users). [Users|Teams] tabs + modal CRUD.
Layout · how to use
- Levels: demo=1 (read) · staff=5 (operate) · admin=10 (all). Only level opens real permissions (→ Access levels).
- Password required on create, optional on edit.
role_idandteam_idare informational label/membership. - Guards: you cannot demote/disable/delete yourself, and the last active admin is protected.
Admin edits apply from the next request without a re-login because
InfrAuthre-syncs the session (level/name/lang) each request.
Data sources
infr_user(level · role_id · team_id) ·infr_team·App\Support\RolePolicy
Access
level≥10 (admin) + audit.
Related
