Admin Users & RBAC

Managing admin users and role-based access control.


Overview

BlueSentinel uses Role-Based Access Control (RBAC) with four permission levels.

Roles

RoleViewManageAdminCross-Tenant
`viewer`YesNoNoNo
`tenant_manager`YesYesNoNo
`tenant_admin`YesYesYesNo
`super_admin`YesYesYesYes

Permission Matrix

ActionViewerManagerAdminSuper Admin
View devices, alerts, policiesYesYesYesYes
Send remote commandsNoYesYesYes
Manage USB whitelistNoYesYesYes
Generate enrollment tokensNoYesYesYes
Create/edit policiesNoNoYesYes
Create/delete groupsNoNoYesYes
Manage exceptionsNoNoYesYes
Create admin usersNoNoYesYes
View audit logNoNoYesYes
Access recovery keysNoNoYesYes
Manage across tenantsNoNoNoYes

Creating Admin Users

  1. Navigate to Users (requires tenant_admin role)
  2. Click Create User
  3. Enter email, name, password, and role
  4. The user is automatically scoped to the current tenant

Password Security

  • Passwords are hashed using bcrypt
  • No password is stored in plaintext
  • The default admin password (admin123) must be changed immediately after first login

Audit Trail

All admin actions are logged in the Admin Audit Log with:

  • Who performed the action
  • What action was taken
  • Target type and ID
  • Detailed payload of changes
  • Timestamp