Each person who uses the device should have their own account. What an account may do is set by its role: a list of the functions it may use, edited in the role editor. Accounts can also receive an API key for scripts and other software.
The two screens are in the Access menu:
An account without a role has all rights. The users table shows it as no role — all rights (super-admin). Insert user does not ask for a role: set the Role of each new account right after creating it, or the new user can change everything, including the other accounts.
Operator) and confirm. The new role starts with no rights, and its column is selected.Viewer, Maintenance).The functions are listed in a tree, with one column of check boxes per role. The View menu changes the tree:
| Entry | Effect |
|---|---|
| By group | Functions grouped by kind of action, from the least to the most sensitive: Read (devices, values, logs), Write a value, Add (gateway, address, route…), Modify configuration, Delete from configuration, Services (restart, stop, box), Accounts, secrets & security, and others. Ticking a group ticks all its functions. |
| By module | Functions grouped by part of the software (gateways, loggers, system…). |
| Sub-modules | Adds one level: each group split by module, or each module split by group. |
| Expand all, Collapse all | Opens or closes the whole tree. |
| Columns | Shows or hides columns. Tick other roles to show them next to the current one and compare them. |
A partly ticked group is shown as partial.
To delete accounts, select their rows and use Selection › Remove users.
Double-click a cell to change it.
| Column | Description |
|---|---|
| Username, Name, Description | Login name and information about the person. |
| Redirect | Page opened after login instead of the administration, for example a visualization or a dashboard (/dashboards/<id>). |
| Default Visu | Name of the visualization opened after login, when Redirect is empty. A local account needs it to sign in to the visualization: see Visualization › Sign in. |
| Role | The role of the account. no role — all rights (super-admin) when empty. You cannot change the role of your own account. |
| API Key | See section 4. |
| Administrator | Gives the account the administration functions of the device (backup, restore, software update, reboot, system logs…) whatever its role. Keep it for real administrators; set it to no for accounts with a limited role. You cannot change it on your own account. |
| Terminal access | Shows or hides the Terminal box of the System home page for this account. What the terminal may do follows the role of the account. |
| Session expire | Lifetime of the login sessions of the account: default, never, or a duration. |
An API key lets a script or another program call the REST API with the rights of an account, without its password.
wbx_, is shown once: copy it at once (copy button) and store it safely.The program sends the key in the header X-API-Key: wbx_…. The default admin account cannot have an API key (Not available).
Good practice: create one account with a limited role for each integration, and give it its own key. You can then revoke one integration without touching the others.
The device refuses some changes, whatever the rights of the account:
The Roles menu of the role editor also lists the AI assistants of the device (gateways of the AI driver). Select one to see and change the functions it may use, with the same check boxes as a role. See AI assistant and the AI driver.
admin account and how to change it: see First start.
admin account.