{% extends "base.html" %} {% block title %}{{ user.username }} - mGuard VPN Manager{% endblock %} {% block content %}

{{ user.username }}

{{ user.email }}

Zurück Bearbeiten Zugriffe verwalten
Benutzerinformationen
Benutzername {{ user.username }}
E-Mail {{ user.email }}
Voller Name {{ user.full_name or '-' }}
Rolle {% if user.role.value == 'super_admin' %} Super Admin {% elif user.role.value == 'admin' %} Admin {% elif user.role.value == 'technician' %} Techniker {% else %} {{ user.role.value }} {% endif %}
Mandant {% if user.tenant %} {{ user.tenant.name }} {% else %} - (Global) {% endif %}
Status {% if user.is_active %} Aktiv {% else %} Inaktiv {% endif %}
Erstellt am {{ user.created_at.strftime('%d.%m.%Y %H:%M') if user.created_at else '-' }}
Letzte Anmeldung {{ user.last_login.strftime('%d.%m.%Y %H:%M') if user.last_login else 'Noch nie' }}
Gateway-Zugriffe
{% if user.role.value in ['super_admin', 'admin'] %}
{% if user.role.value == 'super_admin' %} Super-Admins haben automatisch Zugriff auf alle Gateways aller Mandanten. {% else %} Admins haben automatisch Zugriff auf alle Gateways ihres Mandanten. {% endif %}
{% else %} {% if user.gateway_access %}
    {% for access in user.gateway_access %}
  • {{ access.gateway.name }} {% if access.gateway.location %} {{ access.gateway.location }} {% endif %} {% if access.gateway.is_online %} Online {% else %} Offline {% endif %}
  • {% endfor %}
{% else %}

Keine Gateway-Zugriffe zugewiesen.

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