Skip to content

Security and permissions

The browser only hides buttons that would be refused. The gateway checks every request:

  • The user comes from the Perspective session, never from the request.
  • The configuration comes from the component's configuration prop, read on the gateway.
  • Every tag path is checked against the configuration's tag browser roots and allowed historians. A typed or edited link cannot reach other tags.
  • What a request may do is checked again after each read and right before every write and every answer that carries data. A request whose configuration, chart table or user changed meanwhile is refused.

The gateway ignores writes to configuration from the browser, but it trusts bindings. Bind it only to values the browser cannot set: not to a URL or page parameter, nor to a session property a client script writes. Otherwise a user could pick a looser configuration.

Configuration names are matched without case, so two configurations whose names differ only in case are refused.

Action Who
Explore, read history, export Anyone who may open the page, within the roots, historians and limits
Open a saved chart Its owner, the admin role, and whoever it is shared with
Save Signed-in users with a role in Roles That May Save (empty: every signed-in user)
Share Users with a role in Roles That May Share (empty: everyone who may save)
Change, rename, delete a chart Its owner and the admin role
Save a copy Anyone who may open the chart and may save
Star Any signed-in user, for a chart they may open
Add, change, delete notes Roles That May Add Notes (empty: everyone who may save), and the admin role
Manage every chart and note The Admin Role (default Administrator)

Anonymous sessions never save or star. They can explore and open charts shared with everyone.

A chart belongs to the session user: the name of the identity provider the session signed in through, plus the user name. Renaming an identity provider leaves its users' charts under the old name: they no longer show as theirs, though the admin role still manages them.

Roles match by name, whatever user source a session signed in through. Give roles from different user sources different names when they must not see each other's charts.

The share dialog offers the roles of the identity provider's user source. An identity provider without one (OpenID Connect, SAML) says so, and the roles are typed.

A link carries tag paths and settings, never data. The recipient's every read is checked against their own access. A link to a chart that cannot be opened says why (no access, deleted, does not exist) and never shows its title.

With Tag Browser Roots empty, a chart sees every tag provider except [System] (the gateway's own tags). Name a root under [System] to trend those.

  • Saved charts are stored through an Ignition database connection; credentials are the connection's, kept by Ignition.
  • The module never contacts Mustry or any other outside service.
  • A failure is answered with a plain message and a reference; its details are in the gateway log, not sent to the browser.

Each configuration has tables of its own. A table prefix another configuration uses on the same database is refused, and a chart table belongs to one gateway: two gateways on one database need different table prefixes. See Gateway configuration.