{% extends "base.html" %} {% block title %}Access settings · NEXXVU{% endblock %} {% block content %}

Settings

Access & observer

Devices belong to ecosystems. A user's role in an ecosystem decides what they can do with its devices; Portal administrators manage every ecosystem and these settings.

All settings
{% include "_settings_navigation.html" %}

Your access

{% if saved %}
{{ saved if saved|length > 12 else 'Saved.' }}
{% endif %} {% if error %}{% endif %}

{% if admin %}You are a Portal administrator: manager of every ecosystem.{% else %}Your ecosystem roles are below. Ask a Portal administrator to change them.{% endif %}

{% if my_ecosystems %}{% else %}

No ecosystem access yet.

{% endif %}
What each role allows
AccessCan do
viewer (one ecosystem)See that ecosystem's inventory, devices, monitoring results and dashboards. Changes nothing.
operator (one ecosystem)Everything a viewer can, and re-run device validation and checks.
manager (one ecosystem)Everything an operator can, and add or remove devices and assets, set up device monitoring accounts, replace credentials and request device addresses.
Portal administrator (whole Portal)Manager of every ecosystem, plus: approve device addresses, install updates, delete ecosystems, invite and remove users, and change these settings. A role in an ecosystem adds nothing for an administrator.
{% if admin %}

Observer location

Every monitoring result records which Portal observed it and from where. Changing this applies to new results; earlier results keep the viewpoint they were recorded with.

{% if current_observer %}{% endif %}

Ecosystem roles

{% for e in ecosystems %}

{{ e.name }}

{% if e.members %}
{% for m in e.members %}{% endfor %}
UserRoleGranted byRemove
{{ m.username }}{{ m.role }}{{ m.granted_by }}
{% else %}

No members. Portal administrators manage it.

{% endif %} {% set grantable = users|rejectattr('admin')|list %} {% if grantable %}
{% else %}

Every user is a Portal administrator and already manages this ecosystem. Invite someone below to give them a role here.

{% endif %}
Delete this ecosystem

{% if e.contents %}It still holds: {% for table, n in e.contents.items() %}{{ n }} {{ table|replace('_',' ') }}{% if not loop.last %}, {% endif %}{% endfor %}. These are retired with it: hidden everywhere and no longer monitored, kept only as history.{% else %}It is empty.{% endif %} Devices must be removed first.

{% else %}

No active ecosystems yet.

{% endfor %}

Users

{% for u in users %}{% endfor %}
UserNamePortal administratorActions
{{ u.username }}{% if u.user_id == session.user_id %} (you){% endif %}{{ ((u.first_name or '') ~ ' ' ~ (u.last_name or ''))|trim or '—' }}{% if u.email %}
{{ u.email }}{% endif %}
{{ 'Yes' if u.admin else 'No' }}{% if u.user_id != session.user_id %}
Remove user

{{ u.username }} can no longer sign in, and their roles end. Their name stays in history.

{% endif %}

Invite someone

{% if invitation_link %}

Invitation for {{ invitation_link.name }} ({{ invitation_link.username }}) created. Send this link to them (it is shown only now; valid until {{ invitation_link.expires }}, works once):

{{ invitation_link.url }}

{% if invitation_link.emailed %}

E-mailed to {{ invitation_link.email }}. The link above is the same one, in case they need it another way.

{% elif invitation_link.emailed is defined %}

The e-mail could not be sent. Copy the link and send it yourself; check Settings → Email.

{% else %}

Copy the link into your own e-mail or message to {{ invitation_link.email or 'them' }}.

{% endif %}
{% endif %}

The person opens the link, chooses a password and signs in with exactly this access. Links expire after 72 hours.

{% if mail_available %}{% else %}

To e-mail invitations, set up Settings → Email; until then you send the link yourself.

{% endif %}
{% if invitations %}
{% for i in invitations %}{% endfor %}
InvitedAccessExpiresRevoke
{{ i.first_name or '' }} {{ i.last_name or '' }} ({{ i.username }}){% if i.email %}
{{ i.email }}{% endif %}
{{ 'Portal administrator' if i.administrator else i.role ~ ' in ' ~ i.ecosystem }}{{ i.expires_at[:16]|replace('T',' ') }}
{% endif %} {% endif %}
{% endblock %}