Skip to content

User Management — Roles

The Roles section (/role) manages reusable permission bundles. A role describes which devices and services may be touched; assigning a role to a user gives them everything in that bundle. Roles live inside groups, which scope what's available to assign.


Contents

  1. The access model in one minute
  2. Page layout
  3. Role table
  4. Detail tabs
  5. Creating, editing, deleting roles
  6. Deep links
  7. Persistence — what is remembered

1. The access model in one minute

A user belongs to a group and holds one or more roles. The role grants access to a set of devices and services, scoped by the group.

Roles are the most common lever for adjusting access. Instead of granting devices to each user one by one, you typically:

  1. Define a role like "Plant A operator".
  2. Add the relevant devices and services to the role.
  3. Assign the role to whichever users need that access.

When the device list changes (say a new pump is installed), you update the role once and every user who has it inherits the change.


2. Page layout

Roles overview

AreaWhat lives there
Role tableAll roles you have access to.
Detail panelOpens when you click a row, with tabs for the role's relationships.
ToolbarAdd Role, column editor, CSV export.

Selecting a row updates the URL to include the role's identifier, so reloading or sharing reopens the same role.


3. Role table

Default columns:

ColumnMeaning
NameThe role name.
GroupThe group this role is scoped to.
UsersCount of users currently holding this role.
DevicesCount of devices accessible through this role.
ServicesCount of services accessible through this role.

The same column management as everywhere else in Coldwave: drag to reorder, drag the edge to resize, click the header to sort, use Edit Columns to add or remove columns. Layout is remembered per user. CSV export dumps the currently visible rows.


4. Detail tabs

TabWhat you can do
DevicesPick devices any user with this role can access.
ServicesPick which services on those devices the role grants access to.
UsersShow the users that currently hold this role. Click a user to jump to their detail page.
AccessEdit lower-level access rules (read / write / manage) for this role.

5. Creating, editing, deleting roles

Creating

Click Add Role in the toolbar. The modal asks for:

  • Name — the role name.
  • Group — the group this role belongs to.

The new role appears in the table immediately; open it to assign devices, services and access rules.

Editing

Open the detail panel and edit inline within the tabs — device and service assignments are toggle lists, access rules are switches. There is no separate "edit mode".

Deleting

The detail panel has a Delete button. Deleting a role removes it from every user who currently holds it, which may revoke access immediately. Coldwave asks for confirmation before deleting.


Heads-up. These URL patterns are reliable when produced by Coldwave itself. Hand-constructed URLs from another user may not land where you expect — see URLs and tabs.

URLEffect
/roleOpen the role list with no role selected.
/role/<roleId>/devicesOpen a specific role on the Devices tab.
/role/<roleId>/servicesOpen the Services tab.
/role/<roleId>/usersOpen the Users tab.
/role/<roleId>/accessOpen the Access tab.

7. Persistence — what is remembered

Per-user, persisted between sessions:

  • Column layout — visibility, order, width, sort.
  • Selected role and tab — driven by the URL.

Always fresh from the backend:

  • Counts in the table (users, devices, services).
  • Tick state in the assignment tabs.