Skip to main content
Version: 1.3

Overview

Roles bundle permissions that control what users can see and do in ToBeAlert, and can grant alert views (Allowed views) to every member. Each user can hold one or more roles. Roles also support automatic assignment through a Match Pattern and manual assignment of specific users.

StepWhat you configureMenu / routeDocumentation
1Built-in roles — review defaults before changing accessAccess Control → Roles → /rolesThis page
2Custom roles — name, permissions, KPI scope, Allowed viewsSameCreating and managing roles
3Permission reference — values shown in the Permissions fieldRole drawerPermissions reference
4Assign roles to users — per user or via role membershipAccess Control → Users → /usersUsers

Roles — list with Create role and search

Where to find it in the UI​

In the sidebar under Access Control:

  • Roles → /roles

The page title is Roles. Header actions:

ButtonPurpose
RefreshReload the roles table
Create roleOpen the side drawer to define a new role

Table search, sorting, pagination, and bulk selection follow the shared list pattern — see TQL search and filters and List tables and bulk actions. Double-click a row or click the role Name to edit.

Permissions

The Roles page requires administrator access. Users without sufficient permissions do not see Access Control or Roles in the sidebar. If Create role is disabled, your license may have reached the roles limit — contact your administrator.

Built-in roles​

ToBeAlert ships two built-in roles (lock icon in the Role column):

RoleTypical use
adminFull platform access; includes global admin permission, KPI access to All KPIs, and every view
userStandard operator access (alerts, limited management)

Built-in roles cannot be deleted or duplicated. In the editor, Name, Permissions, Match Pattern, Manual Users, and Allowed KPI Groups are read-only for built-in roles.

How roles fit together​

Typical rollout:

  1. Review built-in admin and user permissions in the table.
  2. Create a custom role (for example on-call-lead) with alert and notification permissions — see Creating and managing roles.
  3. Assign the role on the Users page or set a Match Pattern such as *@ops.company.com for directory users.
  4. Map LDAP/SAML groups to roles in External auth providers when using enterprise login.

Roles work together with Views (alert visibility) and Groups (notification recipients). A user needs both the right permissions and the right views to work effectively. A role can grant views directly through Allowed views — every member of the role gets them on the dashboard, marked via role on the Users page — see Assigning views to roles.

Table columns​

ColumnDescription
RoleRole name; built-in roles show a lock icon
Match PatternAuto-assignment pattern (robot icon when set)
Manual UsersCount of users assigned directly, or No users assigned
PermissionsPermission tags (first two shown, remainder in tooltip)
Allowed KPI GroupsKPI scope summary when KPI permissions apply
Create timeWhen the role was created
ModuleRelationship
UsersCreate users and assign roles on the Users tab
ViewsControl which alerts a user sees; a role grants views to its members through Allowed views
KeysAPI keys use the same permission labels as roles
External auth providersMap directory groups to roles after sync
NotificationsRequires notification permissions on the role
PoliciesRequires policy permissions; manual Run needs run:policies and also write:alerts; optional per-policy execute:policies:<suffix> when a policy sets Permission (those execute scopes also need write:alerts)
Maintenance windowsRequires maintenance window permissions
Toolswrite:alerts + read:tool + execute:tool for tools with empty Permission; exact execute:tool:<suffix> (or admin:tool / admin) when a tool sets Permission — execute:tool does not include those suffixes. Global All executions needs read:tools_history or read:tools_all_history, not read:tool

Best practices​

  1. Start from built-in roles — duplicate behavior by creating new roles rather than expecting to edit built-in permission sets.
  2. Least privilege — grant only the permissions needed for each job function; use Permissions reference when in doubt.
  3. Prefer match patterns for directory users — use Match Pattern for SSO/LDAP populations and Manual Users for exceptions.
  4. Separate duties — roles for alert handling, notification configuration, and access-control administration should differ.
  5. Review KPI access — when granting KPI permissions, set Allowed KPI Groups to All (Full Access) or named groups. Empty still allows KPIs with no group.
  6. Document custom roles — use clear names (noc-operator, notification-admin) so assignments stay auditable.