Skip to main content

How your permission is computed

In the dynamic permission model nobody has a fixed role. Each time you open an inventory (location, system, equipment) or do something on it, kommuns computes your permission there at that moment. This page explains the rules with examples — use it also to understand why an employee can't see or do something.

Five rules​

1. Which assignments count?​

  • The assignments made to the person.
  • The assignments made to the teams they belong to — but only if their In Team permission has Using Team Permissions on (in the default definitions: Team Captain). A Team Member does not use the team's inventory permission; they work on the work orders assigned to the team.
  • If the person works for an Expert Organization and is on another organization's inventory, the permission given to their company (see Partner permission).

Inactive people, teams and assignments are not counted.

2. The inventory chain​

Only the assignments on the inventory itself and up its chain count. For the Electrical system the chain is: Harborview Hotels Group (organization) › Harborview Boston Waterfront (location) › Electrical — Power Distribution (system). Assignments on sibling locations or on the equipment below are not part of the calculation.

3. Permissions from a higher level​

An assignment higher up passes down only through the lower-level part of its definition: if the Technician definition assigned on the location has a System level, the permissions on that level apply on the system. If it doesn't, the location assignment gives nothing on the system. For equipment the definition needs both the System and the Equipment level.

AssignmentWhat it brings to the Electrical system
Organization: Organization EmployeeNothing: the definition has no Location level.
Boston hotel: TechnicianThe permissions on the definition's System level: view, open work orders and issue reports, work on work orders…
Electrical: ☆ manager (no definition)No permission, but responsibility (rule 5).

4. Combining: the widest wins​

If several assignments give a permission on the same inventory, the widest value is taken for each permission:

✓ Yes > ★ Only where they own the inventory > ✕ No

PermissionAssignment AAssignment BResult
Add work ordersYesNoYes
Delete work ordersNo★★
Forward work ordersNoNoNo
"No" is not a ban

A No in one assignment does not take back a Yes from another; it only means "this assignment does not give this permission". To stop someone from doing something, find the assignment that gives the permission and remove it or replace it with a narrower definition.

5. Inventory responsibility​

If the person is the inventory manager on the inventory itself or anywhere up its chain (or a team they captain is), the ★ values in the computed permission work like Yes. If not, they work like No.

Responsibility alone gives no permission: the manager must also get the permission from somewhere (the additional permission of the same assignment, or an assignment higher up). See Inventory managers.

Examples​

Daniel: one definition, different systems​

Daniel is a Technician at the Boston hotel and the manager of Electrical and Plumbing. Suppose the Technician definition has Delete work orders set to Inventory Manager.

InventoryAssignments countedComputed result
Boston Waterfront (location)TechnicianSees the inventory, opens work orders and issue reports; can not delete work orders (not the manager)
Electrical (system)Technician (from above) + ☆ managerThe same and can delete work orders
HVAC — Central Plant (system)Technician (from above)Sees, opens work orders; can not delete
Chicago Loop (location)—Can not see it

Marcus: two assignments combine​

Marcus is the Location Manager at the Boston hotel. Even if he is also assigned Location Employee there, nothing changes: for each permission the widest value (the manager's) wins. To narrow Marcus's permission you must remove the Location Manager assignment.

Engineering Team: captain and member​

The Engineering Team is assigned in Chicago as Technician and is the manager of the Chicago electrical system. The team's captain (Marcus) uses the Technician permissions and the responsibility there. A Team Member (Daniel) does not see the Chicago inventory through the team; the work orders assigned to the team appear in his My Work Orders and he works on them. To let a member see the inventory too, give them their own assignment there or turn on Using Team Permissions in their In Team permission.

Partner permission​

When an Expert Organization (e.g. Brightline Facility Services) works on the owner's inventory, the calculation has two steps:

  1. The company's permission: computed with the rules above from the owner's assignments to the company (Brightline: Service Contractor — System Maintenance on the HVAC systems).
  2. The employee's share: the company admin passes that permission on to employees or teams with External Permissions and chooses a limit. A permission passed to a team is used by the team's captain.
Incoming Permission Limit SettingThe employee's permission
FullThe company's whole permission.
Company PermissionThe company's permission, limited by the employee's permission in their own organization: for each permission, the narrower of the two.
Selected PermissionA permission definition you choose, limited by the company's permission: for each permission, the narrower of the two.
  • An employee who is in no external permission record can not see the customer's inventory.
  • If there are several records (e.g. Selected Permission for the person, Company Permission for a team they captain), the results combine and the widest wins; a Full record always gives the whole permission.
  • The company's permission is the ceiling of what it can pass on: a company can not give its employee a permission it was not given.

The Consultant switch is not a permission: it says that the company (or person) is on the reviewing side of the work orders on that inventory. For the review flow see Review and approval.

See it on the Assignments tab​

The Assignments tab shows all of this for one person: where they are assigned, with which permission and through which team, and what they may do on each inventory. Your own is under My Identity › Assignments (its short form is the My assignments box on Home and in the mobile app). For someone else, open them from Assignees › Employees and choose the Assignments tab; teams, Expert Organizations and integrations have the same tab on their pages.

On the left of the page is the Assignment source, on the right the assignments. The page opens as a Tree; switch to the List at the top right. On narrow screens the source column folds to its icons (or becomes chips above the tree); what the marks mean is in the ? window. If you may assign, a round New assignment button stands next to Tree / List (→ New assignment).

A person's Assignments tab, list view
The list: the assignment sources (1), a team's assignment (2), an assignment inherited from above (3), the arrow that opens the sub-inventory (4), the Tree / List switch (5).
  • Assignment source: All, Direct (the person's own assignments), the organization and the person's teams, each with how many assignments come from it and, under a team, the person's permission in it (e.g. Team Captain). Pick one and only the inventory it is assigned to stands out; what is outside its reach fades. The legend below explains the marks.
  • Accessed inventory: the inventory the person can reach, indented like a tree. The arrow at the start of a row opens and closes its sub-inventory, loading it the first time (at most 30 at once); Load the other … at the end of the branch brings the rest. Under Permissions, the assignments made on that inventory are solid badges and the ones inherited from above are dashed; Access says whether it comes from an assignment (Assigned) or from above (Inherited: …). The assignments on the organization apply to every row, so they are not repeated.
  • Assignments: one row per assignment: the inventory, the permission and its source (Direct, or the team and the person's permission in it).
  • Badges: a person icon is the person's own assignment, two people a team's (with the team's name); ★ means inventory manager and a struck-through badge is inactive. A blue D is a consultant assignment: its badge is blue and it reaches the sub-inventory too.
A person's Assignments tab, tree view
The tree: a card the selected source is assigned to (1), the other assignments on a card (2), the counter that opens the sub-inventory (3).
  • The tree shows the same with cards. A card the selected source is assigned to has an orange frame (blue when its first assignment is a consultant's); cards reached only from above have a plain frame and say In scope. A card shows its first assignment and +N, which opens all the assignments on it with their sources.
  • The counter under a card opens and closes its sub-inventory, loading it the first time; grey cards show while it loads. Zoom with the + / − buttons on the right and fit the tree to the screen with the one below them.

What can they do here?​

Clicking a row in the list or a card in the tree opens Permissions on this inventory: the computed permission on that inventory — what the person may and may not do on the inventory itself and on its work orders, recurring work orders, issues, files, authorized people and sub-inventory (the groups with no permission are listed together under No permission) — and, under Assignments the permission comes from, the assignments on it and above it that produce it. Open the inventory page takes you to the inventory's own page.

The permission preview on an inventory
Permissions on this inventory: the link to the inventory page (1), what is allowed (green) and not (struck through) (2), and the assignments it comes from (3).

For a team, the preview shows the team's own permission (its members use it as far as their permission in the team allows); for an Expert Organization, the organization's; for an integration, what its API calls may do — the integration's scopes limit it further.

In the mobile app, tapping a row (on a tablet, a card) opens the inventory's page directly; the arrow at the start of the row (on a tablet, the counter under the card) opens its sub-inventory.

Why can't an employee see something?​

More solutions: Troubleshooting.