Role-Based Access Control

Built-in roles, permissions and custom roles.

Built-in roles

RoleCan
adminEverything (*)
engineerEverything an operator can, plus delete equipment and read settings
operatorRead, add and edit equipment, connect it, send messages and commands, acknowledge alarms
viewerRead only

Permissions

Permissions are resource:action strings, for example equipment:read, equipment:write, equipment:connect, messages:send, alarms:acknowledge, settings:read, settings:write. GET /api/v1/admin/permissions lists them.

Custom roles

Administrators create roles with any set of permissions through /api/v1/admin/roles.

Tenants

Every tenant-scoped table has PostgreSQL row-level security enabled and forced; a request runs with its tenant bound to the transaction, so one tenant cannot read another’s rows even through a query that forgets to filter.

Something missing or wrong on this page? Tell us.