Custom roles

Settings → Roles. A custom role is a viewer or an operator plus a few extra things to read: for example an auditor (a viewer who may also read the audit log and the reports) or a network reader (a viewer who may also see DNS, storage and vulnerabilities). The extras come from a fixed list: the audit log (and its integrity check), the reports, the backups page, vulnerabilities, storage, DNS and the inventory. Give a role to a user under Users & tokens.

What a custom role deliberately cannot do: change anything, or reach logins, users, remote access, the terminal, backups and restore, or any setting. Those stay with the administrator, because granting them in pieces is how a role turns into an unnoticed way to administrator. A test checks every capability against the real routes and fails if one reaches a route that changes something or needs step-up.

  • The user’s base role stays their role, so everything that looks at the role keeps denying by default; the extras are added on top, for reading only. A user limited to some groups or remote sites (a customer view) cannot have a custom role, and neither can an administrator.
  • The licence: creating and changing roles needs the Enterprise edition (or the trial). Without it, users with a custom role are simply their base role again; nothing is deleted. Taking a role away is always allowed. API tokens of such a user carry the same extras; a read-only token still only reads.
  • Changing a role’s base moves its users with it; removing a role leaves its users with their base role. Every change is in the audit log and needs step-up when that is switched on.