Settings

Users

The Users section in the Settings menu allows you to manage access and permissions for your application. It is divided into two main areas:

  • Roles – Define what users are allowed to do
  • Users – Create and manage user accounts and assign roles

1. Roles

In the Roles section, you manage permission sets that can later be assigned to users.

Preconfigured Roles

By default, PLCVisu includes four predefined roles:

  • [code_block_0]
  • [code_block_1]
  • [code_block_2]
  • [code_block_3]

Each of these roles comes with a specific set of permissions. To view or modify them, click the Edit icon (pencil) next to the role.

Create a Custom Role

To add a new role:

  1. Click +New
  2. Enter a role name (e.g. [code_block_4])
  3. Select one or more permissions from the list

This is especially useful when assigning standardized access to multiple users – for example, every service technician might use the same credentials and share the same permissions.

Available Permissions

There are currently three types of permissions:

  • [code_block_3] – Grants full access to all system functions
  • [code_block_6] – Allows viewing of triggered alarms
  • [code_block_7] – Allows access to login history and user activities

Note: The Logger component (required for [code_block_7]) only becomes visible if you create a menu entry of type Component, and link it to Logger. Once active, users with the appropriate permission can access login history via the side navigation in the frontend.


2. Users

In the Users section, you manage the actual user accounts that log into the system.

Default User

By default, there is one user already created:

  • [code_block_3] – Can be edited by clicking the pencil icon

You can change the name, password, and assign one or more roles. However, if a user has any role with the [code_block_3] permission, that user automatically has full access – assigning additional roles has no effect in that case.

Create a New User

  1. Click +New
  2. Set a username (e.g. [code_block_1])
  3. Define a password
  4. Link the user to one or more roles

This setup allows you to create dedicated accounts for departments, roles, or individual staff members with clearly defined access levels.


Summary

  • Use Roles to define permission templates
  • Use Users to assign those templates to real accounts
  • The system is flexible and supports shared logins (e.g. for entire teams) or individual credentials
  • Proper configuration ensures secure and structured access control in your application