Roles and permissions
The matrix
A user has one Matrix role in each tenant they belong to: their product role for Entrosity Matrix in that organization on Entrosity Hub. The server enforces these permissions on every API call and, for changes, again right before the connector writes; the app only hides what you cannot use.
| Permission | Viewer | Technician | Teacher¹ | Tenant admin | Global admin |
|---|---|---|---|---|---|
| See the rooms, their state and schedules | ✓ | ✓ | Granted rooms only | ✓ | ✓ |
| See addresses and groups | ✓ | ✓ | Granted rooms only | ✓ | ✓ |
| See the allowed sites | ✓ | ✓ | List for all rooms and granted rooms | ✓ | ✓ |
| Read the history | ✓ | ✓ | ✓ | ✓ | |
| See the tenant's users | ✓ | ✓ | ✓ | ✓ | ✓ |
| Enable and disable rooms, disable until, bulk changes, cancel re-enables | Granted rooms only | ✓ all rooms | ✓ | ||
| Change computers' IPs, add computers, retry address operations | ✓ | ✓ | |||
| Change a room's own allowed sites | Granted rooms only | ✓ all rooms | ✓ | ||
| Change the allowed sites of all rooms; see the FortiGate setup commands | ✓ | ✓ | |||
| Add, change and delete firewalls (including Allow editing allowed sites); store their tokens; check and refresh them | ✓ | ✓ | |||
| Give teachers room rights | ✓ | ✓ | |||
| Install and remove connectors; manage enrollment tokens | ✓ | ✓ | |||
| Manage sites; change tenant settings; Manage members on the Hub | ✓ | ✓ | |||
| See network monitoring: the Network pages, a room's Network tab and the alerts (Network monitoring) | ✓ | ✓ | ✓ | ||
| Change network alert rules and recipients | ✓ | ✓ | |||
| Read the audit log | ✓ | ✓ | |||
| All tenants: overview, tenants, users, connector releases and the global audit log | ✓ |
¹ Teacher is not a built-in role: it is a custom role limited to granted
rooms with the permissions of this
column (users:read, rooms:read, rooms:operate, addresses:read).
In short: viewers look at every room, technicians (IT staff who look after the network) see the same plus the network monitoring and change nothing, teachers see and switch only the rooms granted to them and edit those rooms' allowed sites, tenant admins (IT) set everything up and switch every room. A teacher without granted rooms sees no rooms (No rooms are assigned to you yet). Refused attempts, including a hand-made API call, are recorded in the history.
The server never sends a teacher anything about rooms not granted to
them: the rooms, address groups, allowed- and blocked-sites lists, re-enable
schedules and live updates of other rooms are left
out, and so are firewalls without any of their rooms. Asking for such a
room anyway (a hand-made API call) answers 404 unknown_room, as
for a room that does not exist, and is recorded as refused. Teachers
have no History at all (no Activity item; the API answers 403); their changes are in it for tenant
admins and viewers.
Tenant admins manage every allowed- and blocked-sites list and the setup commands; a teacher changes a room's own lists with a room right for that room, never the list for all rooms.
Right before every write, the connector asks Matrix whether the change is still allowed: the author must still be an active user of the tenant, not signed out on the Hub, and still a tenant admin, or a teacher with the room's right (address changes and the list for all rooms: a tenant admin). A right removed after the change was sent stops it.
Users of a tenant only reach their own tenant. A request for another tenant's data answers 404, as if it did not exist.
Custom roles
Organization admins can also give members a custom role: a role they
define on the organization's Roles tab of the Hub, with a name and the
Matrix permissions they pick (any of the ones above except
tenants:manage), or start from a built-in role with Duplicate. Matrix
enforces exactly the permissions of the role and shows its name. A role
still held by members or open invitations cannot be deleted
(role_in_use). Changes reach Matrix with its next sync (within about a
minute). See Custom roles.
A custom role works in every room: with rooms:operate it switches
any room, like a tenant admin, and Room rights do not apply to it,
unless it is limited to Only the rooms granted in Entrosity Matrix.
Then it is a teacher: it sees and switches only the rooms granted to it,
edits only those rooms' own allowed sites, and is offered on Room
rights, whatever else its permissions say.
Password confirmation
Some changes ask for your Entrosity password again (Confirm with your password; a passkey works too), even though you are signed in. The confirmation is used once, for that change:
- creating an enrollment token and approving a re-enrollment request (Connectors);
- removing a connector;
- storing a firewall's API token, and changing a firewall's Address, Port or connector (Firewalls → API token);
- lowering how long finished connector jobs or the audit log are kept below the server's default (90 days for jobs, 365 for the audit log), under Settings → General; raising them, or going back to the default, needs no confirmation.
A wrong password keeps the dialog open (The password is not correct.); a confirmation that expired or was already used asks again.
Entrosity staff
Entrosity employees who are not platform admins can be Entrosity staff assigned to some organizations (Entrosity staff). They are not members of the tenant, but get a Matrix role in it from their assignment's level:
| Staff level | Matrix role in the tenant | On the Hub |
|---|---|---|
| Admin | Tenant admin | Organization admin of the organization (members page). |
| Read-only | Viewer | Reads the organization, its members and audit log; changes are refused. |
- Staff do not appear in the tenant's Users or in user pickers. Staff never appear in the teacher picker of Room rights: a staff Admin switches every room as a tenant admin, a staff Read-only user only looks.
- If a staff user also has a Matrix role of their own in the tenant, the more privileged of the two applies and is treated as their own role.
- Staff of other organizations do not reach the tenant: like any other user, they get 404.
- Products in beta stay closed to staff; only platform admins open them (Products in beta).
- Changes to staff assignments reach Matrix with its next sync (about a minute).
- When Entrosity staff work in the tenant through support access (signed in as one of its members), every change they make is recorded under that member and names the staff member in the History (by Entrosity support (…)); room switches, bulk changes and address changes made that way are also written to the audit log.
Managing users
Users, invitations and roles are managed on Entrosity Hub, not in Matrix:
- An organization admin gives members a Matrix role (or No access) on the organization's members page of the Hub (Organization members). Which rooms an teacher switches is set in Matrix (Room rights).
- A platform admin enables Entrosity Matrix for an organization under Products (Platform administration). The organization becomes a Matrix tenant with the same ID.
- Global admins are the Hub's platform admins; Entrosity staff get a role only in the organizations they are assigned to (Entrosity staff). While Matrix is in beta, they are the only users who can open it (Products in beta).
- Matrix copies users, organizations and roles from the Hub about every 30 seconds: changes reach Matrix within about a minute, including signing out disabled users.