{% extends "base.html" %} {% block title %}Access settings · NEXXVU{% endblock %} {% block content %}
Settings
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.
{% 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 %}No ecosystem access yet.
{% endif %}| Access | Can 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. |
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.
| User | Role | Granted by | Remove |
|---|---|---|---|
| {{ m.username }} | {{ m.role }} | {{ m.granted_by }} |
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 %}{% 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.
No active ecosystems yet.
{% endfor %}| User | Name | Portal administrator | Actions |
|---|---|---|---|
| {{ 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 |
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 }}
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 %}| Invited | Access | Expires | Revoke |
|---|---|---|---|
| {{ 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',' ') }} |