Skip to main content

Users and roles

Every person who uses the Console signs in as a user. What a user may do comes from roles. Each role is a package of capabilities; a user with several roles gets the union of all of them. Administrators manage users in Settings → Users.

Settings, Users: list of accounts with role, source and status
Settings, Users: list of accounts with role, source and status

How it works​

  • There are 10 built-in roles and 17 capabilities. You cannot define your own roles.
  • A user holds one or more roles. The Users screen says: "Each role is a capability package. Multi-role users get the union of every selected package."
  • The legacy role engineer is treated as controls_engineer.
  • Accounts come from three sources: local (created here), ldap (created at the first directory sign-in) and SSO. See LDAP and SSO. The Source column shows local or ldap.
  • New users created in the UI start with the role operator. Users created by a directory sign-in start with the directory's default role (viewer unless you change it).

Roles​

RoleIn plain words
viewerRead-only monitoring of configuration and history.
analystReads like a viewer; approves dashboard proposals only.
operatorViewer plus suspend and resume, probe and browse, acknowledge and shelve alarms. No tag writes, no configuration changes.
senior_operatorOperator plus PLC tag writes.
technicianOperate the runtime (probe, browse) without acknowledging alarms or configuring devices.
controls_engineerConfigure devices, write tags, operate the runtime, acknowledge alarms, edit dashboards.
integration_engineerConfigure uplinks, certificates and the historian, export configuration, operate the runtime.
rules_engineerConfigure rules; read devices, configuration and history.
auditorRead configuration, history and the audit log. No changes.
adminAll 17 capabilities, including users, identity (LDAP and SSO) and configuration import.

Permission matrix​

"yes" means the role holds the capability.

Capabilityvieweranalystoperatorsenior_operatortechniciancontrols_engineerintegration_engineerrules_engineerauditoradmin
read_configyesyesyesyesyesyesyesyesyesyes
read_historyyesyesyesyesyesyesyesyesyesyes
read_audit--------yesyes
operate_runtime--yesyesyesyesyes--yes
ack_alarms--yesyes-yes---yes
write_tags---yes-yes---yes
configure_devices-----yes---yes
configure_uplinks------yes--yes
configure_rules-------yes-yes
configure_dashboards-----yes---yes
approve_dashboards-yes-------yes
manage_certificates------yes--yes
manage_historian------yes--yes
export_config------yes--yes
import_config---------yes
manage_users---------yes
manage_identity---------yes

What each capability allows​

CapabilityUI label or effect
read_configSee devices, groups, tags, rules, model and most pages. Most GET requests need it.
read_historyTrends, history, OEE and other time-series reads.
read_auditThe Audit log page, and MCP usage reports.
operate_runtime"Operate runtime (probe / suspend)": probe, browse, suspend and resume.
ack_alarms"Acknowledge / shelve alarms".
write_tags"Write PLC tags".
configure_devicesCreate and change devices, tags, the plant model and governance settings.
configure_uplinksCreate and change uplinks and business systems.
configure_rulesCreate and change rules.
configure_dashboardsCreate and change dashboards.
approve_dashboards"Approve dashboard proposals". Approves and runs dashboard proposals only.
manage_certificatesCertificates.
manage_historianHistorian settings and retention.
export_configConfiguration export.
import_configConfiguration import.
manage_usersUsers, API keys, agent credentials, MCP settings, session revoke.
manage_identity"Manage identity (LDAP / SSO)".

Step by step: add a user​

  1. Open Settings → Users. You need the admin role.
  2. Click Add user.
  3. Enter Username and Password. The password must meet the policy below.
  4. Select one or more roles. Read the "Role permissions" guide if unsure.
  5. Save with Save user.

To change a user, edit roles, or use Disable and Enable. Disabling asks "Disable this account? They will not be able to sign in." A disabled user, and their sessions, are rejected on the next request. New password (optional) resets a password. "Password reset applies to local accounts only"; directory accounts change their password in LDAP.

Each person changes their own password under Settings → Profile → Change password: Current password, New password, Confirm new password, Update password.

The first administrator is created at start from MI_ADMIN_USERNAME and MI_ADMIN_PASSWORD. These are used only while no admin exists; the Console refuses to start with no admin and no values set.

Scoped access​

By default a user's roles apply to the whole plant. You can limit a person to some areas or machines. Each user row has an Access button (and a "limited" badge); the dialog is titled Access: <user> and asks "Where this person may work".

  • Whole plant: the roles apply everywhere (the normal case).
  • Only in chosen areas or machines: everything else is invisible.

Each row under Places has a Role and a Place. A place is the whole plant or a node of kind Area, Work center, Work unit or Machine, and it includes everything below it. Roles allowed in grants map to these capabilities: read_config, read_history, ack_alarms, operate_runtime, write_tags, configure_devices, configure_dashboards, read_audit. The preview shows them as look, history, acknowledge alarms, operate, write, configure, dashboards, audit.

"Decided by" shows whether an administrator or the directory (LDAP or SSO at the last sign-in) set the grant. Directory grants cannot be changed in the dialog. The preview "What can this person see now?" shows the saved access.

Limited access removes plant settings

A scoped person loses "rules, alarm definitions, uplinks, business systems, governance, OEE setup, connection tests and exports", and the Fleet and AI connections views. Plant-only capabilities are removed: configure_uplinks, configure_rules, manage_certificates, manage_historian, export_config, import_config, manage_users, manage_identity. A scoped administrator loses administration. A scoped person with no places sees nothing. If you limit yourself, the UI asks you to confirm because you lose your own administration.

Directory groups and places maps a directory group (source Directory, "Group (full name)", where: whole plant or Places) to a role. It is applied at each sign-in. The admin role is only possible for the whole plant. Once a group with places exists, a directory user with no matching group gets no access at the next sign-in.

Password policy (local accounts)​

RuleValue
Length12 to 128 characters
WhitespaceNo leading or trailing whitespace
Character classesAt least 2 of 4: lowercase, uppercase, digits, symbols
RepetitionNot a single repeated character
UsernameMust not contain the username (when the username has 3 or more characters)
Common passwordsA denylist (for example password, changeme, admin123, qwerty, 123456, and words such as mii, makeitintelligent, siemens, scada, plc, operator, engineer, viewer) is checked against the password and its letters and digits cores
Storageargon2id hash

Lockout and rate limits​

  • Account lockout: 5 failed attempts lock the account for 15 minutes.
  • Login rate limit per client address: a burst of 10, then one attempt regained every 6 seconds. It returns MI-4003 with a Retry-After header and is separate from the account lockout.
  • There is no multi-factor authentication (MFA, TOTP) in the Console. Use SSO with your identity provider if you need it.

Sessions​

  • A sign-in returns a signed token (JWT, HS256). It lasts 1 hour and is renewed with POST /api/v2/auth/refresh while you work (a sliding session).
  • A session ends 12 hours after the original sign-in, even if you stay active. Then you see "session expired; sign in again".
  • Agent credentials and API keys cannot call the password, refresh or logout endpoints.
  • The signing secret is MI_AUTH_JWT_SECRET (at least 16 characters) or MI_AUTH_JWT_SECRET_FILE. MI_AUTH_DISABLED=true turns authentication off and is for labs only.

REST​

GET, POST /api/v2/users; PATCH, DELETE /api/v2/users/{id}; POST /api/v2/auth/login, /auth/refresh, /auth/logout, /auth/password; GET /api/v2/auth/me; GET /api/v2/access/me; GET, PUT /api/v2/access/users/{id} (carries a revision for conflict detection); GET /api/v2/access/users/{id}/preview; GET, PUT /api/v2/access/group-grants.

Troubleshooting​

SymptomCauseFix
"Locked" after wrong passwords5 failures in a rowWait 15 minutes.
MI-4003 at sign-inToo many attempts from this addressWait for Retry-After.
Password rejected on createPolicySee the table above.
User sees nothingScoped with no places, or directory group with places but no matching groupAdd places, or fix the group mapping.
A menu item is missingThe role lacks the capabilityCheck the matrix.
MI-4002 permission deniedRole lacks the capability for that actionAsk an administrator.