{% extends "base.html" %} {% block head %} {% endblock %} {% block title %}Manage Users{% endblock %} {% block content %}

Manage Users

Create New User
Existing Users
{% for user in users %} {% endfor %}
Username Email Role Companies Status 2FA Actions
{{ user.username }} {{ user.email }} {% if current_user.role == 'GlobalAdmin' and user.id != current_user.id %} {% else %} {% if user.role == 'GlobalAdmin' %} Global Admin {% elif user.role == 'Admin' %} Admin {% else %} User {% endif %} {% endif %} {{ 'Active' if user.is_active else 'Inactive' }} {{ 'Enabled' if user.mfa_enabled else 'Disabled' }} {% if current_user.role == 'GlobalAdmin' %}
Required: {% if user.mfa_required is none %} Inherit {% elif user.mfa_required %} Yes {% else %} No {% endif %}
{% endif %}
{% if current_user.is_global_admin() or (current_user.role == 'Admin' and user.role != 'GlobalAdmin' and user.role != 'Admin') %} {% if user.mfa_secret %}
{% endif %} {% if user.id != current_user.id %}
{% endif %} {% else %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}