{% extends "base.html" %} {% block title %}{{ v.user.username }} · Users · NEXXVU{% endblock %} {% block content %} {% set u = v.user %}

User

{{ u.username }}

{% if u.suspended %}Suspended{% elif u.online %}Signed in now{% else %}Signed out{% endif %}{% if u.signed_in_from %} {% endif %}{% if u.last_from and u.last_from != u.signed_in_from %} {% endif %}{% if u.admin %} Portal administrator{% endif %}

{% if u.suspended %}

Suspended {{ (u.suspended_at or '')[:16]|replace('T', ' ') }} UTC{% if u.suspended_reason %}: {{ u.suspended_reason }}{% endif %}.

{% endif %}
← Users {% if u.suspended %}
{% elif not self_page %}{% endif %}
{% if notice %}
{{ notice }}
{% endif %} {% if error %}{% endif %} {% if not u.suspended and not self_page %}

Suspend {{ u.username }}

The account is signed out at once and cannot sign in until you reactivate it. Its roles stay as they are.

{% endif %} {% if tab != 'permissions' %}{% endif %} {% if tab == 'activity' %}

Pages visited

How many times each page was opened in this period (a device's or an address's pages count together). {{ v.total }} events in all.

{% if v.visited %}
{% for page, n in v.visited %}{% endfor %}
PageVisits
{{ page }}{{ n }}
{% else %}

No page recorded in this period.

{% endif %}
{% if v.changed %}

Changes sent

{% for page, n in v.changed %}{% endfor %}
PageChanges
{{ page }}{{ n }}
{% endif %}

Where they signed in from

{% if v.addresses %}{% else %}

None in this period.

{% endif %} {% if v.sign_ins %}

Sign-ins

{% endif %}

{{ v.sessions|length }} open session{{ '' if v.sessions|length == 1 else 's' }}.

{% elif tab == 'permissions' %}

Portal administrator

A Portal administrator can open and change everything, in every ecosystem, including users and settings.

{% if u.admin %}{% else %}{% endif %}

Ecosystems

Viewer sees the ecosystem's devices and monitoring; operator also runs tools and changes devices; manager also adds and removes devices and manages the ecosystem. Pages outside these are refused and counted.

{% set have = {} %}{% for m in v.memberships %}{% set _ = have.update({m.ecosystem_id: m.role}) %}{% endfor %}
{% for e in v.ecosystems %}{% endfor %}
EcosystemRoleActions
{{ e.name }}
{% if e.id in have %}
{% endif %}
{% elif tab == 'refused' %}

Refused pages

Pages this user asked for and was not allowed to open, or that do not exist. Many in a short time raise a notice and can suspend the account (never a Portal administrator).

{% if v.refused %}
{% for e in v.refused %}{% endfor %}
Time (UTC)ResultRequestAddress
{{ e.at[:19]|replace('T', ' ') }}{{ 'Refused' if e.kind == 'denied' else 'Unknown or not allowed' }} ({{ e.status }}){{ e.method or '' }} {{ e.path or '' }}{{ e.address or '' }}
{% else %}

No refused page in this period.

{% endif %}
{% else %}

Latest events

{% if v.recent %}
{% for e in v.recent %}{% endfor %}
Time (UTC)EventRequestResultAddress
{{ e.at[:19]|replace('T', ' ') }}{{ {'page': 'Page opened', 'change': 'Change sent', 'first_use': 'First use today', 'denied': 'Refused', 'not_found': 'Unknown page', 'error': 'Server error', 'probe': 'Probe'}.get(e.kind, e.kind) }}{{ e.method or '' }} {{ e.path or '' }}{{ e.status or '' }}{{ e.address or '' }}

All of {{ u.username }}'s events in Security events

{% else %}

None in this period.

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