Settings

Roles

Path: Settings > Users > Roles

The Roles section is used to define and manage permission profiles that can later be assigned to users. Roles are a central element of access control in PLCVisu.

What is a Role?

A role is a collection of specific permissions.
Users do not receive permissions directly, but via one or more assigned roles. This provides a clear and reusable permission structure, especially in team environments.

Predefined Roles

By default, the system includes four preconfigured roles:

  • user – Basic rights for standard users
  • service – For service teams with limited access
  • supervisor – For supervisory users with extended read access
  • admin – Full access to all functions

These roles can be used as-is or edited as needed.
Click the pencil icon to rename the role or change its permissions.

Creating Custom Roles

Click +New to define your own roles.
Steps:

  1. Enter a role name (e.g. production_lead)
  2. Select the required permissions
  3. Save – the role now appears in the list and can be assigned to users

Available Permissions

You can currently enable or disable the following permission types:

  • admin – Full access to all areas and settings
  • view_alarms – Access to alarm indicators in the frontend
  • view_logs – Access to the logbook (login history)

Note: The admin permission overrides all others. If a role includes this, all other restrictions are ignored.

Best Practices

  • Use descriptive role names like maintenance, quality_manager, viewer_readonly
  • Grant only the necessary rights
  • Reuse roles for entire teams that share the same permissions

Important

Roles alone have no effect – they must be assigned to at least one user to take effect.
Assignments are managed under Settings > Users > Users.

viewer_readonly
quality_manager
maintenance
admin
view_logs
view_alarms
admin
production_lead
admin
supervisor
service
user