{% extends "base.html" %} {% block content %}

Users & Roles (RBAC groundwork)

Foundational local user/role records and audit actor attribution scaffolding. Existing super-password/unlock flow remains active; login/session enforcement is not yet enabled by default.

Current session identity

{% if current_user %}

Logged in as {{ current_user.display_name or current_user.username }} ({{ current_user.username }}, role: {{ current_user.role }}, id: {{ current_user.id }}). Actions in this browser session can be attributed to this user in audit logs (where supported).

{% else %}

No local user session active. System continues using existing unlock/manager context. You can optionally log in as a configured user to attribute actions.

{% endif %}

Add user

Roles (seeded/defaults)

{% for r in roles %} {% else %}{% endfor %}
NameDescriptionPermissions
{{r.name}}{{r.description}}{{r.permissions_json}}
No roles found

Users

{% for u in users %}{% else %}{% endfor %}
IDUsernameDisplay nameRoleActiveEdit
{{u.id}}{{u.username}}{{u.display_name}}{{u.role}}{{'yes' if u.active else 'no'}}
Edit
No users yet

Approvals (workflow foundation) · ← Back to Settings

{% endblock %}