{% extends "admin/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "users" %} {% block title %}Users - LLeMbas{% endblock %} {% block heading %}Users{% endblock %} {% block admin_content %}

Everyone with an account on this instance. Administrators bypass every permission; ordinary users get the baseline permissions plus whatever their groups add.

{% if saved %}
{{ icon("check", "icon--sm") }} {{ saved }}
{% endif %}
{% if q %}Clear{% endif %}
Add a user

At least 8 characters. Tell them to change it — you will know it otherwise.

Accounts {{ users|length }}

{% for account in users %}
{{ account.name }} {{ account.email }} {% if account.is_admin %}admin{% endif %} {% if not account.active %}deactivated{% endif %} {% if account.id == user.id %}you{% endif %}
{% if account.last_login_at %} last seen {{ account.last_login_at.strftime("%Y-%m-%d %H:%M") }} {% else %} never signed in {% endif %}

admin can do everything, including this page. user is an ordinary account. pending cannot sign in until promoted.

Deactivating signs them out everywhere immediately, rather than waiting for their session to expire.

{% if groups %}
Groups
{% for group in groups %} {% endfor %}
{% endif %} {% if account.is_admin and admin_count <= 1 %}
{{ icon("warning", "alert__icon") }} The only administrator. Promote someone else before demoting or deactivating this account — an instance with no admin can only be recovered with lembas create-admin.
{% endif %}
{% endfor %} {% endblock %}