{% extends "base.html" %} {% block title %}{{ t('access.title') }} — painfree{% endblock %} {% block body %}

{{ t('access.heading') }}

{{ t('access.lede') }}

{{ t('access.lede_no_user_list') }}

{{ t('access.lede_oversight') }}

{% if oversight %}

{{ t('access.oversight_heading') }}

{{ t('access.oversight_why') }}

{% endif %} {% if ungranted %}

{{ t('access.ungranted_heading') }}

{{ t('access.ungranted_why') }}

{% endif %}

{{ t('access.known_subjects') }}

{% if subjects %} {% for row in subjects %} {# The subject is the identity provider's `sub` claim, verbatim: an identifier, never translated and never reformatted. #} {% endfor %}
{{ t('access.subject') }}{{ t('access.name') }} {{ t('access.last_seen') }}{{ t('access.access') }}
{{ row.subject }} {{ row.display_name or '—' }} {{ row.last_seen_at | moment }} {% if row.oversight %} oversight {{ t('access.every_connection_readonly') }}{% if row.grants %}
{% endif %} {% endif %} {% if row.grants %} {% for grant in row.grants %} {{ grant.connection_id }} {{ grant.level.value }}{% if not loop.last %}
{% endif %} {% endfor %} {% elif not row.oversight %} {{ t('access.none') }} {% endif %}
{% else %}

{{ t('access.nobody') }}

{% endif %}

{{ t('nav.connections') }}

{{ t('access.other_way_round') }}

{% if connections %} {% else %}

{{ t('access.no_connections') }}

{% endif %}
{% endblock %}