{% extends "admin_layout.html" %} {% import "_page.html" as page_ui %} {% block title %}Spark - {{ user.email }}{% endblock %} {% block page %}
{% call page_ui.header(user.email, "This user's account, roles and sign-in.") %} All users {% endcall %} {% include "_page_messages.html" %} {% include "_mailed_link.html" %}
Account
Name{{ user.display_name or "" }}
Status{{ user.status }}
Signs in with{% if user.sign_in_method == "sso_only" %}single sign-on only{% if not sso_available %} {{ sso_off_flag }}{% endif %}{% elif sso_available %}a password, or single sign-on{% else %}a password{% endif %}
Authenticator app{{ "set up" if mfa_enrolled else "not set up" }}
{% for value, label, icon in [("active", "Reactivate", "bi-play-circle"), ("suspended", "Suspend", "bi-pause-circle"), ("deactivated", "Deactivate", "bi-x-octagon")] %} {% if user.status != value and user.status != "invited" %}
{% endif %} {% endfor %}
{% if user.sign_in_method != "sso_only" and user.status == "active" %}
{% endif %}
{% if user.sign_in_method == "sso_only" or sso_available %}
{% if user.sign_in_method == "sso_only" and not sso_available %}

After changing to a password, send the user a password reset link so they can set one.

{% endif %} {% endif %}
Roles
{% if assignments %} {% for assignment in assignments %} {% endfor %}
RoleGrantedExpires
{{ assignment.role }} {{ assignment.granted_at.strftime("%Y-%m-%d %H:%M") }} {{ assignment.expires_at.strftime("%Y-%m-%d %H:%M") if assignment.expires_at else "never" }}
{% else %}

No roles.

{% endif %}
{% endblock %} {% block scripts %}{% endblock %}