{% extends "base.html" %} {% from "components/ui.html" import empty %} {% from "components/grants.html" import grants_of, role_tags %} {% block title %}Users · {{ APP_NAME }}{% endblock %} {% block heading %}Users{% endblock %} {% block subheading %}
Who may call the API, and with which rights
{% endblock %} {% block actions %} {% if can_create %}New user{% endif %} {% endblock %} {% block content %} {% if users %}
{% for user in users %} {% endfor %}
NameRolesGrants
{{ user.name }} {% if user.id == me.user_id %}you{% endif %} {% if user.disabled %}disabled{% endif %} {{ user.id[:16] }}… {{ role_tags(user.roles) }} {{ grants_of(user.grants, names) }} Open
{% else %} {{ empty("No user yet. The admin key is not a user.") }} {% endif %} {% endblock %}