{% extends "admin/layout.html" %} {% block admin %}

People ({{ nav.total }})

{% if users_managed_here %}

Add a person

{% include "admin/place.html" %}
{% if people.is_empty() %}

{% if nav.search.is_empty() %}Nobody yet.{% else %}Nobody matches “{{ nav.search }}”.{% endif %}

{% else %}
{% for u in people %} {% endfor %}
PersonRoleSign-inActions
{% if let Some(d) = u.display %}{{ d }}{{ u.name }}{% else %}{{ u.name }}{% endif %}{% if u.is_me %} (you){% endif %}
{% include "admin/place.html" %}
{% if let Some(p) = u.provider %}through {{ p }}{% else %}
{% include "admin/place.html" %}
{% endif %}
{% if sessions_revocable %}
{% include "admin/place.html" %}
{% endif %} {% if !u.is_me %}
{% include "admin/place.html" %}
{% endif %}
{% endif %}

A person who signs in through an identity provider holds the higher of the role set here and the role their groups map to there; a person with a password holds the role set here. Removing someone ends their sessions at once; a provider person gets a fresh row, as a viewer, at their next sign-in.

{% else %}

People are identified by the identity provider in front of this site and their roles come from its groups (OKF_WEB_AUTH_ROLE_MAP); manage them there.

{% if sessions_revocable %}

Signed in now ({{ live_sessions.len() }})

{% if live_sessions.is_empty() %}

Nobody holds a live session.

{% else %}
{% for s in live_sessions %} {% endfor %}
SubjectSessionsChange
{{ s.subject }}{% if s.is_me %} (you){% endif %} {{ s.count }}
{% endif %}

End someone's sessions

Ends every session that person holds here at once - whether they were disabled at the provider, or a session may have been copied. Name them as the provider identifies them (their subject).

{% endif %} {% endif %}
{% endblock %}