Users and Permissions
Two things decide what somebody sees in Selvara. The role says what a person may do — read, acknowledge, manage, administer. The grant says which customers that applies to. Neither answers the other's question: a manager with no grant may create hosts in principle and has nowhere to put them, and a viewer granted three customers still cannot touch anything in them.
Administrators are the exception to the second half. An administrator reaches every customer there is, without being granted one, and nothing narrows that.
Everyone else starts with nothing. A freshly created manager, operator or viewer sees an empty instance until an administrator gives them a customer.
The four roles
| Role | What it may do |
|---|---|
| Administrator | Everything, everywhere. Accounts, roles, grants, SMTP and the agent rollout mode are administrator work only. |
| Manager | Runs the customers granted to it: creates and deletes customers and hosts, renames clusters, writes alert rules, event rules and maintenance windows, changes agent settings, acknowledges and deletes alerts. Not the instance itself — no accounts, grants or SMTP. |
| Operator | Reads the customers granted to it and acknowledges or resolves their alerts. Creates, changes and deletes nothing. |
| Viewer | Reads the customers granted to it. No buttons — and the API refuses the request as well, not only the interface. Never notified. |
In detail:
| Action | Administrator | Manager | Operator | Viewer |
|---|---|---|---|---|
| See hosts, alerts, metrics, timeline | every customer | granted customers | granted customers | granted customers |
| Acknowledge or resolve an alert | yes | granted customers | granted customers | no |
| Delete an alert | yes | granted customers | no | no |
| Create, end or delete a maintenance window | yes, any scope | scopes it reaches in full | no | no |
| Create, edit, enable, disable or delete an event rule | yes, any scope | scopes it reaches in full | no | no |
| Create, edit, enable, disable or delete an alert rule | yes, any scope | scopes it reaches in full | no | no |
| Create a customer | yes | yes, and is granted it | no | no |
| Edit or delete a customer | yes | granted customers | no | no |
| Add, edit or delete a host, regenerate its key | yes | granted customers | no | no |
| Rename or delete a cluster | yes | clusters it reaches in full | no | no |
| Change agent settings for a host or a cluster, switch services off on the Services tab of Edit host | yes | hosts and clusters it reaches in full | no | no |
| Hold or release agent updates (hosts list, a host's page, Settings → Agents → Rollout) | yes | granted customers | no | no |
| Set the agent rollout mode (Settings → Agents → Rollout) | yes | no | no | no |
| Move the agents to a new server (Settings → Agents → Server move) | yes | no | no | no |
| Create accounts, change roles, set grants | yes | no | no | no |
| Configure SMTP | yes | no | no | no |
| Set how long resolved alerts and audit log entries are kept | yes | no | no | no |
| Read or export the audit log | yes | no | no | no |
| Set a customer's policies | yes | granted customers | no | no |
| Set the instance's time zone | yes | no | no | no |
| Receive notifications | always | granted customers | granted customers | never |
A manager who creates a customer is granted it in the same step, so it does not vanish from their list the moment it exists. Moving a host to another customer needs both ends: the customer it leaves and the one it joins.
The navigation reflects this. Under Infrastructure, Maintenance windows is offered to administrators and managers; under Monitoring, so are Alert rules and Event rules. Settings (the gear in the top bar) offers General, Email (SMTP), Data retention, Audit log, Integrations, Icons, Usage and Users to administrators, Access and rights to administrators and managers, and Agents to everyone. What the navigation shows is presentation only: it hides a link, it does not guard anything. The check that matters is the one in the API, and it runs whether the link was there or not.
Accounts
Accounts live under Settings → Users, which is administrator-only.
Add user asks for an email address, an optional name, a role and either a password or, by default, an invitation: the person gets a link that lets them choose their own password. The link is valid for seven days, is mailed where a mail server is configured, and is shown to you in any case, so you can hand it over yourself when no mail goes out. The role select offers the least privileged first and starts on Viewer. The dialog says plainly that the new account sees nothing yet — customers are granted after it exists, not while it is being created.
Editing an account changes its email, name, password, avatar image (up to 2 MB) and role, and is where the customer list for that account lives. An empty password field leaves the stored password alone.
Anyone may edit their own name, email, password and avatar from their profile, whatever their role. Only an administrator can change a role, and nobody can delete their own account.
The three-dots menu of an account has what an administrator does to somebody else's account, each step audited:
- Send a sign-in link issues a new link (the old one stops working) that lets the person choose a password; for an account that was created by invitation, or whose password is lost and who cannot use Forgot password.
- Usage and devices shows what the person opens most and the browsers that may skip the second factor and the tokens (desktop app, command line, scripts) they are signed in with, by name and last use. Each can be revoked, and Sign out everywhere ends every browser session, token and trusted browser of the account at once: the answer to a lost laptop. The account itself keeps working for whoever signs in again.
- Reset second factor takes the authenticator app, the recovery codes and the trusted browsers away, for a person who lost the phone. Sign-in then asks for the emailed code where a mail server is configured.
- Switch off keeps the account and everything it owns and stops it signing in, with a password or a token, and ends every open session and socket at once; Switch on brings it back with the same password. You cannot switch off your own account, nor the last administrator who can sign in. A switched-off account does not count as an administrator when deciding whether the last one is being demoted or deleted.
- Delete says first how many private access entries and folders go with the account, as numbers: what is in a private customer is not named to anyone but its owner. The private customer is kept for the trash retention and then removed with its hosts, access entries and audit entries.
Private customers
Every account that may use access entries (administrator, manager and operator) has a private customer: an ordinary customer, named for its owner, that only its owner reaches, an administrator included, and that nobody can be granted. The owner holds every permission there, whatever the role says; an administrator and a token hold nothing in somebody else's. It is dormant while its owner is switched off or has a role without access entries, and is removed with the account after the trash retention; it cannot be deleted otherwise. Private Customer has all of it: who gets one, what is the same as for any customer, and what nobody else sees.
Passwords
One rule applies wherever a password is set — the first account on
/setup, a Forgot password link, the profile, an administrator editing a
user, and scripts/reset-password.mjs:
- at least 8 characters, at most 200;
- and not easy to guess. Each password is scored with
zxcvbn, which knows the common
passwords, English and German words and names, keyboard rows, repeats,
dates and years, and the account's own email address, name and username.
A password must reach 2 on its scale of 0 to 4, which eight random
characters do and
Sommer2024,Passwort123orqwertzuiopdo not.
The field shows the strength while you type and, below the bar, why a weak
password is weak. The same check runs again on the server, so the API refuses
what the form would. Several unrelated words — kupfer lampe wolke sieben —
are the easiest way to a strong password.
Existing passwords are not checked again; the rule applies the next time one is set.
Recovery codes
An account with an authenticator app has ten recovery codes, made when the app is set up
and again whenever Profile → Security → Make new recovery codes is used (which voids the old
set). They are shown once, with a button to copy or save them, and only their hashes are
kept. At sign-in a recovery code (xxxxx-xxxxx) is typed where the six digits go; each works
once. Removing the app removes the codes. If the codes are lost with the phone, an
administrator resets the second factor from the account's menu, or an operator runs
scripts/reset-password.mjs --clear-2fa.
Trusted devices
At sign-in, Trust this device for 30 days lets a browser skip the second
factor — the password is still asked for every time. The trust is fixed at 30
days from the sign-in that granted it and does not extend with use; signing in
with the code again replaces the browser's entry rather than adding one. Each
account lists its trusted browsers under Profile → Security, where they
can be revoked singly or all at once. All of them are revoked whenever the
password changes — by Forgot password, from the profile, by an administrator
or with scripts/reset-password.mjs — and when the authenticator app is
removed. The cookie is marked Secure, so over plain http:// the browser
drops it and the code is asked for every time.
SSH keys
Profile → Security → SSH keys lists the public SSH keys an account has stored; an administrator manages them for any account from the account's menu on the users page. A stored key counts as owned by the account wherever it appears on a host. See SSH Keys.
Grants
A grant is one row saying this account may reach this customer. The role decides what the person may do in general and the grant decides where; the permissions on the grant add what they may do to the hosts there.
An administrator is never listed. Their reach is implicit, and a row for one would suggest it could be taken away a customer at a time. Both directions of the interface refuse to store one, and the edit dialog replaces the customer list with a line saying so as soon as the role is set to Administrator.
From the customer
The customer's own page has a Users tab, visible to administrators. It lists every account below administrator with a checkbox, ticked where the grant already exists. Tick, untick, Save changes.
From the account
The edit dialog under Settings → Users has a Customers list, with the same checkboxes seen from the other end, and a count of how many are ticked.
Both replace the whole set
Whichever end you work from, saving sends the complete list and replaces what was stored. There is no add and no remove. Untick a box and save, and that grant is gone; the save cannot half-apply, because the replacement happens in one transaction. A grant that stays keeps its permissions, so unticking one customer does not reset the others.
Deleting an account or deleting a customer takes its grants with it.
Permissions
A role says what a person is in general. Some actions on a customer's hosts are a different kind of trust from acknowledging an alert: opening a root shell is not implied by being a manager. These are therefore permissions, held per grant — one account may open a shell at one customer and not at another.
| Permission | Allows |
|---|---|
Open a shell (access.shell) | An interactive terminal on the customer's hosts, and requesting or approving the removal of SSH keys from them (SSH Keys). |
Open tunnels (access.tunnel) | Reach a port on a host through the dashboard, and open a host's RDP, VNC and SSH in the browser or through the desktop app's tunnel, over a tunnel host or the host's own agent. Opening a host directly in the app, and opening a web link or a local folder, needs no such permission. |
Edit access entries (connection.edit) | Create, change and delete a customer's access entries, edit the addresses, shares and reachability of its hosts and the tags and colour of any host, create and change link hosts and hosts without an agent, manage its folders, edit the customer's access entry notes and empty its trash. |
Copy stored passwords (connection.reveal) | Copy the password stored with an access entry, and have it passed on when an RDP, VNC or SSH entry is opened in the browser. Every copy is recorded in the audit log. |
Set which actions hosts allow (actions.manage) | Under Settings → Agent → Actions, decide what the customer's hosts allow, for hosts whose configuration file leaves it open and where the gateway's operator has switched remote actions on; see Agent Settings. |
Approve patches (patch.approve) | Decide which updates are installed, and fix vulnerabilities by creating patch jobs. |
Write and edit scripts (script.edit) | Create and change the scripts others run. |
Run scripts (script.run) | Run scripts from the library on the hosts, and write the self-healing rules that run them when an alert opens. |
Start, stop and restart services (service.manage) | Control the services a host's agent watches, from the host's Services tab; see Service jobs. |
How they resolve:
- Administrators hold every permission at every customer, granted or not.
- Viewers hold none, whatever is ticked: the role is read-only. What is stored stays, so promoting the account brings its permissions back as they were set.
- Everyone else holds what is ticked on the grant for that customer, and nothing at a customer they hold no grant for.
- The two access entry permissions are never part of a role: a manager who has been granted a
customer reads its access entries without a password and changes nothing until the grant
says more. The one exception to "administrators hold every permission" is
connection.reveal: a customer can be set to hide its stored passwords from administrators, who then need it ticked on a grant like anybody else. See Access Entries. - Who holds these two at a customer is listed on its Users tab, administrators included, with the switch that withdraws the administrators' right to copy.
connection.editalso decides a host's reachability, its addresses and shares, and the tags and colour of every host, not only of hosts without an agent. That lets its holder choose which tunnel host a stored credential travels through; the bounds and the other consequences are in Security. A viewer sees no access entries, no link hosts and none of this host data, whatever the grant says.
Permissions are edited by administrators in two places. On a customer's Users tab, and in the account's edit dialog under Settings → Users, each ticked customer has a button showing how many permissions the grant carries; it opens the checkboxes. A grant has to be saved before its permissions can be edited. Three templates tick a ready-made set:
| Template | Ticks |
|---|---|
| Technician | shell, tunnels, services |
| Patcher | approve patches, run scripts |
| Script author | write and edit scripts |
| Access entry user | copy stored passwords |
| Access entry editor | edit access entries, copy stored passwords |
A template adds its permissions and never removes any, and it is not a link: changing the template later changes nothing that was already applied.
Access and rights
Settings → Access and rights (/settings/rights) is where who may do what is configured.
Its five tabs are kept in the address (?tab=roles|defaults|actions|approvals|policies); a tab
you may not see falls back to the first one you may.
| Tab | Who sees it | What it holds |
|---|---|---|
| Roles and permissions | administrators | The four roles with the number of accounts holding each, what each role may do, the permission catalogue with how many accounts hold each permission at one customer or more, and the three templates with what they tick. Counts are those of the permissions as they resolve, so administrators count for every permission and viewers for none. Read-only; roles and grants are changed under Settings → Users and on a customer's Rights tab. |
| Default permissions | administrators | One row per manager and operator account with its default permissions and the number of customers it is granted. Editing is described below. |
| Actions | managers, and anyone holding actions.manage at a customer | The allowed remote actions. Each row is editable only where you hold actions.manage for that customer or are an administrator; elsewhere it is read-only. An operator who was granted the permission at one customer sees that customer's entries and can change them. |
| Approvals | administrators and managers | For every customer that requires approval: how many items wait, who may decide, and links to the inbox and the access requests. A customer with only one eligible approver is flagged, because that person cannot approve their own request. Read-only; the switch is on the access policy. |
| Access policies | administrators and managers | One row per customer with its access policy and the number of certificate rules. Edit opens the customer's policy; Certificate rules opens the SSH CA rules of that customer. |
The same actions, approvals and policy are on a customer's Rights tab, narrowed to that customer (see the customer detail page). Icons and Usage, which used to be called Connection icons and Connection usage, sit in the same settings group. The old addresses redirect.
Default permissions
Each manager and operator account has default permissions: what a customer it is granted starts with, whichever end the grant is made from. They are edited on the Default permissions tab and under Edit default permissions in the account's edit dialog. Administrators hold every permission and viewers none, whatever is stored, so those accounts have no defaults to edit.
Saving changed defaults does not touch the grants the account already holds, unless you say so.
When the account holds grants that the change would alter, a list shows each customer with its
current and resulting permissions, all ticked. Choose Save defaults only to change none of
them, or Save and apply to n grants to change the ticked ones. What is applied is the
change, not the whole set: the permissions you added are added to each ticked grant and the
ones you removed are removed from it, and every other permission on a grant stays, so a
deliberate difference on one customer survives. The list is read again when you save, so a
permission edited in the meantime on a grant is not overwritten. Withdrawing
connection.reveal does not affect administrators, who may always copy stored passwords.
Each application is recorded in the Audit Log as Default permissions changed
with the number of grants touched, plus one Permissions of a grant changed entry per grant
with source: defaults. Open dashboards of the account reconnect under the new rights at once.
Actions
Seeing and changing the allowed actions follows actions.manage per customer, not the manager
role. A manager without the permission at a customer sees its entries read-only; an operator
with it can edit them. Viewers cannot reach the tab.
Changing permissions takes effect on the next request, and open dashboards of that account reconnect under the new rights at once. Every change is recorded in the Audit Log.
Customer policies
Each customer has one access policy, set by an administrator or a manager granted the customer: on the Access policies tab above, or in the Policy tab of the customer's edit dialog. Each switch saves as it is changed and the change is recorded. A customer without a service contract cannot be changed.
| Setting | Default | Meaning |
|---|---|---|
| Require approval | off | A second person approves an action before it runs (four eyes). |
| Require a reason | off | Every action carries a reason, kept in the audit log. |
| Record sessions | on | Shell sessions are recorded; the output is kept for 90 days, see Web Terminal. A tunnel's traffic is not, because the dashboard cannot read the protocol inside; who opened a tunnel, when, why and for how long is always in the Audit Log. |
| SSH certificate validity | 8 hours | The longest an SSH certificate for this customer's hosts may be valid, 1 minute to 8 hours. A certificate rule with a shorter maximum still wins. |
The policy is stored per customer and read by whatever acts on its hosts before it acts. Tunnels honour the reason and the approval; see Tunnels. The certificate rules decide who gets a certificate for which host and no longer carry approval or reason of their own.
Who sees what is waiting for a decision
What waits for a decision shows in the bell of those who can give it, and only of them. Each rule is the one the page that handles the matter applies, and each is asked at the customer the matter belongs to: a permission held at one customer does not show or approve anything at another.
| Waiting | Seen and decided by |
|---|---|
| A job held by Require approval | Whoever holds the approving permission of the job type there (script.run for scripts and restarts, service.manage for services, access.shell for SSH keys). |
| A patch run whose apply is held | patch.approve |
| An access request | access.shell or access.tunnel |
| A script version awaiting approval | script.edit on the script's customer, in a customer that requires approval |
| A host that enrolled behind approval | A manager or administrator granted the customer |
Never the requester, with one exception: the person who asked, wrote or filed it does not see it as theirs to decide, and the API would refuse them. The exception is a held job or patch run at a customer without Require approval: such a hold (a patch run that would remove packages, say) is a confirmation, and its requester may give it. Under Require approval a second person is always needed. If the requester's account no longer exists, anybody allowed may decide. A viewer, or an account with no grant at the customer, sees none of it. In customer view only that customer's matters are shown.
An account with no grant
A person below administrator who has been granted nothing gets an explanatory screen, not an empty one. The overview, the hosts list and the alerts page all say No customer yet with a note that an administrator can change that under Settings → Users.
This matters more than it sounds. "No active alerts" and "no hosts" are correct answers for an account that may see nothing, and they read exactly like an estate that has gone away — a fresh operator would reasonably report an outage. The two states have to say different things, so they do.
Such an account is also not notified about anything, whatever it has ticked in its profile. Creating the account and leaving the grant for later means that person is silently off the on-call list until somebody remembers.
What a grant opens up
Once an account holds a customer, everything scoped to that customer follows: its hosts and their detail pages, its metrics and charts, its alerts and alert counts, and the events of its hosts on the timeline. The suggestion and filter values follow: the region and tag dropdowns on the hosts page are built from the hosts that account can see, so a filter cannot be used to enumerate another customer's region names.
The customers page lists the granted customers and no others. The overview's counters and attention tiles are counted over the same set.
Notifications
Who is told about an alert or a notifying event:
| Role | Notified |
|---|---|
| Administrator | Always, about everything. |
| Manager, Operator | When the account is granted one of the customers the alert or the event touches. |
| Viewer | Never. |
An alert touches exactly one customer: the one its host belongs to. An event usually does too, but a cluster event touches every customer its members belong to — a failover in a cluster with nodes at two customers notifies the managers and operators of both. Somebody holding two of the customers a single event touches is still mailed once.
An event that belongs to no host and no cluster reaches administrators only, because there is no customer on it for a grant to match.
A host in a private customer is the exception: only its owner is told, by mail and in their own bell, never an administrator and never a grant.
Whether the mail actually goes out is a separate question, answered by the instance's SMTP settings and the person's own preference; see Notifications. The grant decides whether somebody is a recipient, the preference decides whether they hear about it.
Clusters
A cluster is not owned by a customer. Its members are, and they need not all belong to the same one — an HAProxy in front of two customers' machines is the ordinary case. So the reach into a cluster is asked of its members, and it is deliberately lopsided:
- Seeing any one member is enough to read the cluster. Otherwise a cluster with a single node at another customer would hide a node of your own, along with its failovers. You then see only the members you may see: the member list, the per-node values and the settings form are all built from those.
- Writing takes every member. A cluster-wide maintenance window silences the alerts of machines at every member's customer, and a cluster-scoped event rule forwards their events. A read shows a hostname; a write reaches into somebody else's estate. The same bar applies to a cluster's agent settings, to renaming it and to deleting it: what is saved lands on every member machine and may carry a token.
A cluster with no member you can see is out of reach entirely. One with no members at all is out of reach for everybody but an administrator, who has to be able to find the leftovers of a cluster whose machines are gone in order to clear them away.
Maintenance windows, event rules and alert rules
A maintenance window and an event rule each have at most one scope, and that scope reaches further than it names — a customer-scoped window silences every host of that customer, a cluster-scoped rule notifies about every member. So the bar for writing one is that you could have written that scope yourself:
| Scope | Who may write it |
|---|---|
| One host | Administrators and managers granted its customer. |
| One customer | Administrators and managers granted that customer. |
| One cluster | Administrators and managers granted every member's customer. |
| Everything | Administrators only. |
The last row is the one to remember. A window over all hosts and an event rule with no scope stop or forward alerts for every customer in the instance, which is more than any grant can add up to, so they stay with administrators however many customers a manager holds. The same goes for moving an existing rule onto a scope: the place it is being moved to has to be writable too, or a rule you may edit becomes a way to write one you may not.
Reading is narrower than the instance and wider than writing. The window and rule lists show what the account reaches, and nothing else — a window naming another customer's host, and the name and address of whoever opened it, is not your business.
One exception: an instance-wide maintenance window stays visible to everybody, even though only an administrator can open one. It silences their hosts too, and hiding it would leave them looking at hosts marked under maintenance with nothing on screen that says why.
Alert rules follow the same table, with one difference: an alert rule may name a customer and a cluster together and applies where they overlap, so every scope it names has to be writable. The alert rule list is filtered the same way. An unscoped rule — the shape every seeded rule has — counts as instance-wide, and so does one narrowed only by service, since a service turns up at whichever customers happen to run it. The form therefore does not offer a manager all customers: they pick a customer or a cluster.
Like the instance-wide maintenance window, an instance-wide alert rule is shown to managers, read-only: it raises alerts on their hosts, and without it they could not tell where those alerts come from. Such a rule, and one on a cluster the manager reaches only in part, carries an eye instead of the edit buttons; it opens the rule's condition, duration and scope. Customer view leaves instance-wide rules out, as described below.
Customer view
Customer view narrows one browser to one customer, for opening the dashboard at the customer's site or on a shared screen. The customer picker in the top bar starts it: choosing a customer there is all it takes, and choosing All customers ends it. The picker is not shown to an account that reaches only one customer, since there is nothing to switch between. From then on every page, list, count, chart, the bell and every live update in that browser covers that customer only, as if the account had been granted nothing else. Another customer's host, alert or cluster reads as not found, even by its direct link.
While it is on, a light blue frame runs round the whole window, the picker is coloured and shows the customer, and the browser tab starts with its name. The picker then lists only that customer and All customers: the screen may be shown to the customer, so no other name appears on it.
The customer's access stays available in customer view: on site you open that customer's hosts and their access entries, in the lists, the quick access window and the connect menus, and only that customer's. Nobody else's are shown, and the permissions are the ones the account has at that customer.
What the role allows stays as it is, inside the customer: a manager or an administrator can still acknowledge alerts, edit hosts, renew agent keys and write that customer's alert rules, event rules and maintenance windows. An administrator also keeps every permission there: customer view narrows which customer, not what the administrator may do in it, so running a script or opening a shell work as they do outside the view, without a grant for the customer. What belongs to the whole instance is taken away for the duration, including for an administrator: accounts, the mail server, moving servers, the agent rollout, and rules and maintenance windows that cover every customer. Those are not shown at all, since their names are written for the operator and may mention other customers.
The view belongs to the browser, not to the account. It is kept in a cookie for thirty days, so a laptop left at a customer does not fall back to every customer when it is switched on again. The account's other sessions, the desktop app, API tokens and the notifications it receives are not affected. If the customer is deleted, or the account loses its grant for it, or its service contract ends, the view shows nothing until it is ended, rather than quietly showing everything. Only a customer with a contract can be chosen in the first place: customer view shows what the customer sees, which is monitoring.
Why a missing resource and a forbidden one give the same answer
Three status codes come back from the API:
| Code | Means |
|---|---|
| 401 | Nobody is signed in. |
| 403 | Signed in, but the role is not enough for this action. |
| 404 | The resource is not there — or it belongs to a customer this account cannot reach. |
The third is the deliberate one. Told apart, the pair turns an id into an oracle: a 403 on a host id would confirm that the host exists at a customer you were never given, and walking a list of ids would map an estate you may not see. One answer for both means an id tells you nothing you did not already know.
The same reasoning runs through the rest of the API. A maintenance window or an event rule outside your reach reads as not found; a scope you cannot write reads as unknown scope, exactly like one that was deleted; a cluster with no visible member reads as missing. Where the role is the problem rather than the customer — a manager trying to open an instance-wide window — the answer is a plain 403, because that fact is not a secret.
When a change takes effect
Every permission check — the dashboard shell and its navigation, the lists and detail pages, every API endpoint — reads the account's role and its grants from the database on each request, rather than trusting the sign-in token. So:
- A grant given or withdrawn applies to the next page load and the next request.
- A promotion or a demotion applies to all of that at once. The person does not have to sign in again for it to bite.
- A deleted account can no longer load the dashboard: the shell sends it to the sign-in page, and every customer-scoped request answers 401.
There is one bound worth knowing. The live event stream is a long-lived connection whose permissions are resolved when it connects, and the connection is capped at fifteen minutes before the browser reconnects and is checked afresh. A grant withdrawn while somebody has a dashboard open can therefore keep feeding live alert and status messages for that customer for up to fifteen minutes. Pages, lists and API requests are already refusing at that point; it is only the open stream that lags. Where that is not acceptable, delete the account or change its role — a stream whose session is gone fails its next reconnect.
The stream's metric channel is administrator-only. A metric message names no
customer, so nothing on that channel can be told apart by customer, and it is
refused rather than delivered unfiltered. Nothing in the interface asks for it.
The navigation and the buttons on each page follow the role as the dashboard shell last read it, so a demotion shows from the next page load. Hiding a link or a button is presentation, never a control.
API tokens follow the same rule, and there is no exception to it for them. A token carries its owner's identity and nothing else, so a grant, a promotion, a demotion or a deletion reaches a program on its very next request. A token never has to be reissued after a permission change, and reissuing one would not widen what it may do.
Common setups
One customer per client, a manager and operators each. Create a customer per client, put its servers in it (see Customers and Hosts), and grant it to that client's people. The manager adds and removes servers, writes the rules and opens maintenance windows; the operators on call acknowledge alerts and get the mail. Your own administrators keep the instance-wide view, the instance-wide rules and the accounts.
A read-only account for the client's own staff. A viewer granted that one customer sees its hosts, charts, alerts and timeline and can change nothing. Because viewers are never notified, this is also the account to hand out when somebody wants to look but must not end up on the on-call list. Give them the same customer their operator has; both are narrowed by the grant, and the role is what separates looking from acting.
One team, everything. A small team that is on call for the whole estate is simplest as administrators, since an administrator needs no grants and no maintenance of them. Use managers the moment somebody should not be able to edit accounts or SMTP — a grant on every customer gives a manager the same estate without the instance's settings — and operators for people who should only acknowledge.
A manager across a shared cluster. If a cluster spans two customers and somebody has to be able to silence it with a single maintenance window, or write an event rule for it, they need both customers granted, not one. Granting one lets them read the cluster and see their own nodes in it, which is often all they need — while the cluster's agent settings stay with whoever holds every member's customer.
Related: Audit Log for the record of every change made here, Customers and Hosts for what a customer groups, Notifications for the channels behind the recipient rules, and Maintenance Windows, Alert Rules and Event Rules for the scopes the grants are measured against.