Permissions
How LooT controls access - Read, Write, Execute, Manage, allow and deny, groups, inheritance and breaking inheritance - with worked examples.
The model at a glance#
Every access in LooT is governed by permissions. A permission belongs to an object (tenant, node, chart ...) and is given to a principal, that is a user or a group. Every permission entry has three parts:
- the principal: who receives the permission,
- the permissions: which of the four kinds apply,
- the effect: Allow or Deny.
The four kinds:
| Permission | Letter | Meaning on a node |
|---|---|---|
| Read | R | See the node and read its values, history and properties. |
| Write | W | Set values, by hand and by devices. Devices typically need only this permission. |
| Execute | X | Trigger the commands of the node. |
| Manage | M | Change the structure (create, rename, move and delete nodes and links), change properties such as description, unit and value type, and maintain the permission entries on the node. |
Whoever may not read an object does not see it: LooT treats it as if it did not exist. If only another permission is missing although Read is present, LooT reports a lack of permission. Both cases are covered under Troubleshooting.
Tenant admins and system admins have all permissions in their tenant or everywhere; entries and denies have no effect on them. You manage admins under Tenant administration.
Deny beats allow#
A user has the permissions that were allowed to them and to all their groups, minus every deny. The rule is simple:
Groups count through all levels: if a user is in a group that is itself inside another group, the entries of that group apply too. All members of the tenant automatically belong to the built-in group Everyone; nothing can be denied to it (see Tenant administration).
Inheritance#
An entry on the tenant applies to all nodes of the tenant. An entry on a node applies to that node and everything below it. The rule "deny beats allow" applies unchanged across both levels.
Links inherit nothing: being allowed to see a link does not allow you to read its target. For the target only the permissions along its own path count.
On the way to a readable element, the parent nodes are visible, but only by name, so that you can walk down the tree. Their properties and values stay hidden.
Granting permissions#
- Select the tenant or a node.
- In the Properties, open the Permissions tab. If the view is hidden, the Properties switch in the rail shows it.
- Under Create entry, choose the principal.
- Tick the permissions: Read (R), Write (W), Execute (X), Manage (M).
- Choose the effect: Allow or Deny (beats every allow).
- Choose Add.
The list above the form shows the existing entries, each with a trash icon for deleting it. Changes apply at once; live displays of a node that someone may no longer read end.
Whoever has Manage on a node may maintain entries there, but only entries within their own permissions: they cannot allow or deny anything they do not have themselves, and cannot delete an entry that goes beyond them. This way nobody can lift a deny that they could not have set. Tenant admins and system admins are not bound by this limit. Entries on the tenant itself are maintained only by tenant admins and system admins.
The create permissions on the tenant#
The tenant has further permissions that do not concern an object but allow creating new objects. They can be granted on the tenant only:
| Permission | Letter | Allows |
|---|---|---|
| Create data sources | Q | Set up new data sources, also with Set up device. |
| Create components | U | Set up new components. |
| Create scripts | S | Create new scripts. |
| Publish time ranges | T | Share time ranges with all members of the tenant (see Time). |
| Use forecasts | F | Use the forecast of the AI analysis (see Analysis). |
| Ask AI | A | Ask questions of a language model. |
| Assign real-time | E | Mark nodes as real-time; Manage on the node is needed in addition. |
Tenant admins and system admins have these permissions without an entry.
Checking effective permissions#
At the bottom of the Permissions tab of a tenant and of a node, Effective permissions shows what a user or group may actually do:
- Choose a user or group under Principal.
- LooT shows the result as letters, for example "R W", and describes it in words.
- The table below names every entry that contributes: Target (the tenant or node it sits on), Principal (for groups also the ones the person is in), Permissions and Effect.
The result can also be no permissions (no entry, or the person is not a member) or all permissions (tenant admin). The system admin role is not considered here; it gives all permissions everywhere. This check is the best tool when somebody cannot see or change something.
Breaking inheritance#
Sometimes a subtree should be sealed off, for instance the measurements of a test bench. For that, a node can break inheritance: for it and everything below, only the entries from this node downward count. Entries on the tenant and on the parents have no effect any more, neither allow nor deny. With nested breaks the deepest one on the path decides. Tenant admins and system admins keep all permissions.
You find the function on the Permissions tab of the node in the Inheritance section (not on the tenant). You need Manage on the node or admin rights.
- Choose Break inheritance ....
- Choose how it starts:
- Take over inherited entries as own entries: at first nothing changes for anybody; afterwards you can remove single entries selectively. This is preselected.
- Start empty: only the node's own entries count. Without own entries, only admins get in.
- Confirm with Break. The section now shows the broken badge.
Restore inheritance ... ends the break: the entries from above act again at once, including denies. The node's own entries stay in place.
Cloning and generating from a template copy no permissions, so the copy inherits normally again. With Exchange, archives carry the break only if permissions are exported along.
Permissions on other objects#
Other objects have their own entries as well. You grant them where the object is edited; an entry on the tenant or on nodes has no effect there, and there is no inheritance.
| Object | Possible permissions | Where granted | Who grants |
|---|---|---|---|
| Template | Read, Manage | Permissions of the template | Tenant admins |
| Data source | Read, Manage | Permissions tab of the source | Tenant admins |
| Component (set up) | Read, Manage, Execute | Permissions tab of the component | Tenant admins and, where the interface offers it, whoever has Manage |
| Script | Read, Write, Manage | Permissions tab of the script | Whoever has Manage |
| Chart | Read, Write, Manage | Permissions ... in the menu of the chart list | Whoever has Manage |
| Workflow | Read, Write, Manage | Permissions section of the properties | Whoever has Manage |
| Dashboard | Read, Write, Manage | Permissions section of the properties | Whoever has Manage |
| Workspace (Tabs and workspaces) | Read, Write, Manage | Permissions (share) icon in the workspaces dialog | Whoever has Manage |
Saved time ranges have Read, Write and Manage as well; they are shared with the Publish time ranges (T) permission (see Time).
Whoever created a chart, workflow, dashboard, script or component, and tenant admins, have all permissions on it without an entry. The permissions on a workflow or dashboard give no permissions on the nodes they show: displays and inputs still check the permissions on each node.
Examples#
The examples belong to a tenant Brewery with the root node Brewery/Plant.
Example 1: operators read everything, line 1 may write
- Create the group
Operatorsand add the operators. - On the tenant, give the group Read with effect Allow. All members now see all nodes.
- Select
Brewery/Plant.Line1and give the groupLine1Read and Write. The members ofLine1may set values below line 1, but nowhere else.
Example 2: a deny wins
Bob is in the groups Line1 (may write) and Trainees. You deny the group Trainees Write on Brewery/Plant.Line1. Bob can no longer write there although Line1 allows it: the deny beats the allow. He keeps Read. With Effective permissions for Bob you see both entries and the result.
Example 3: sealing off a subtree
On the node Brewery/Plant.Line1.Testbench, only the team Quality and admins should see anything, although all operators may read on the tenant.
- Select the node and, on the Permissions tab, Break inheritance ....
- Choose Start empty.
- Give the group
QualityRead and Write.
The operators no longer see the test bench; their Read on the tenant has no effect there. Members of Quality who may not read anything else see the parent nodes on the way there by name only.
Example 4: someone cannot see a node
Alice reports that she cannot find Brewery/Plant.Line2.Temperature. On the node, choose Effective permissions and then Alice. "No permissions" without any entry means that no Read entry exists for her or one of her groups. If a deny is listed, the table shows on which node it sits. Also check whether a node on the path breaks inheritance.
Permissions in the demo environment#
In a demo tenant, new users automatically join a group of learners. In general they may read the scenario's plant and write only in a practice area. See Learning mode for details.
Permissions on the command line#
The same entries can be set and read with loot permission; see Permissions on the command line.