Skip to main content
Version: 1.0

Users, roles, and permissions

Overview​

ToBeAlert provides a robust user management system with role-based access control to ensure that users have appropriate access to alerts and system functionality based on their responsibilities and organizational structure.

User management​

Creating users​

User view

Administrators can create new user accounts through the Users interface:

  1. Navigate to the Access Control section
  2. Select the Users tab
  3. Click the "Create User" button
  4. Fill in the required information:
    • Login
    • Name
    • Password
  5. Assign appropriate roles
  6. Save the user configuration

User properties​

Each user account includes the following properties:

PropertyDescription
LoginUnique identifier for the user
NameDisplay name for the user
EmailPrimary contact email for notifications
RolesAssigned permission sets
ViewsAssigned views
DescriptionAdditional information about the user
StatusActive or inactive
Last LoginTimestamp of the most recent login

User actions​

Administrators can perform several actions on user accounts:

  • Edit - Modify user information and settings
  • Disable/Enable - Temporarily deactivate or reactivate accounts
  • Delete - Permanently remove a user account

Role-based access control​

ToBeAlert implements role-based access control (RBAC) to manage permissions efficiently.

Built-in roles​

The system includes some predefined roles:

RoleDescription
AdministratorFull system access with all permissions
UserBasic access to view and acknowledge alerts

Custom roles​

Role view

Administrators can create custom roles with specific permission sets:

  1. Navigate to the Access Control > Roles tab
  2. Click "Create Role"
  3. Define a name and description
  4. Select the appropriate permissions
  5. Save the role configuration

Permission categories​

Permissions in ToBeAlert are organized into the following main categories:

Index​

Users​

PermissionDescription
read:usersView user accounts
write:usersCreate and modify user accounts
admin:usersFull administrative control over users
read:userinfoView user information

Roles​

PermissionDescription
read:rolesView roles and permissions
admin:rolesManage roles and permissions

Groups​

PermissionDescription
read:groupsView user groups
admin:groupsManage user groups

System​

PermissionDescription
read:managementView system settings
admin:managementModify system settings

Access control​

PermissionDescription
read:accesscontrolView access control settings
write:accesscontrolModify access control settings

API​

PermissionDescription
read:keysView API keys
write:keysCreate and modify API keys
admin:keysFull administrative control over API keys
read:oembedView oEmbed configurations

Alerts​

PermissionDescription
read:alertsView alerts
write:alertsCreate and modify alerts
delete:alertsDelete alerts
admin:alertsFull administrative control over alerts

Maintenance windows​

PermissionDescription
read:maintenance_windowsView maintenance windows periods
write:maintenance_windowsCreate and modify maintenance windows
admin:maintenance_windowsFull administrative control over maintenance windows

Tools​

PermissionDescription
read:toolView tools
write:toolUse tools
admin:toolFull administrative control over tools

History​

PermissionDescription
read:historyView system history
write:historyModify system history
admin:historyFull administrative control over history

Notifications​

PermissionDescription
read:notification-templatesView notification templates
write:notification-templatesCreate and modify notification templates
read:notification-groupsView notification groups
write:notification-groupsCreate and modify notification groups
read:notification-rulesView notification rules
write:notification-rulesCreate and modify notification rules

Heartbeats​

PermissionDescription
read:heartbeatsView heartbeat status
write:heartbeatsModify heartbeat configurations
admin:heartbeatsFull administrative control over heartbeats

Webhooks​

PermissionDescription
write:webhooksCreate and modify webhooks

Policies​

PermissionDescription
read:policiesView policies
write:policiesCreate and modify policies
admin:policiesFull administrative control over policies

Instructions​

PermissionDescription
read:instructionsView system instructions
write:instructionsCreate and modify instructions

Permission levels​

LevelDescription
read:*Basic viewing permissions
write:*Ability to create and modify
admin:*Full administrative control

Best practices​

For effective user and role management:

  1. Follow the principle of least privilege - Grant users only the permissions they need
  2. Create role templates - Standardize roles for common job functions
  3. Regularly audit access - Review user permissions periodically
  4. Use descriptive role names - Make role purposes clear from their names
  5. Document your permission structure - Maintain documentation of your access control strategy

Integration with authentication systems​

ToBeAlert can integrate with external authentication systems:

  • LDAP/Active Directory
  • SAML-based SSO

This integration allows for centralized user management and single sign-on capabilities.