Skip to main content
Version: Next

How Rights Work

Rights decide who may create, read, update and delete which data in EP. This page explains the model. The pages after it describe the screens:

  • Rights — grants per type, for everyone, and checking access
  • Roles — roles and the grants they carry
  • Users — which roles a person holds, and grants for one person

What users see of their rights is described in Your Rights.

The Admin Pages​

In the sidebar, the group Rights & Roles (DE Rechte & Rollen) contains:

EntryPage
Users/admin/users — see Users
Roles/admin/roles — see Roles
Rights/admin/rights — see Rights

You can use these pages if you hold Manages policy — through a role or directly. The seeded role administrator has it (and in addition a grant on everything). A role with only Manages policy may change rights, but does not see any more data by itself.

Everyone else sees only the page header and Rights and roles — Managing rights and roles needs a role that manages policy. Ask an administrator. The three entries are also hidden from their menu.

Four Rights​

RightDEAllows
CreateAnlegenCreating entities
ReadLesenSeeing entities and their properties
UpdateÄndernChanging entities
DeleteLöschenDeleting entities

There is no separate right for linking or for actions — they follow from these four:

  • Adding relationships needs Create and Update on the entity the relationship starts from; changing or removing them needs Update there. Rights on the relationship type do not count.
  • Starting an action needs Read. Whatever the action's script changes is checked as the user's own Update or Create, property by property.

Grants​

A grant gives one holder some of the four rights on one scope.

Holders:

  • Everyone — all signed-in users,
  • a role — everyone who holds the role,
  • a user — one person directly. Use this only for real one-offs; rights that outlive one person belong in a role.

Scopes:

ScopeDEApplies to
EverythingAllesAll data
TypeTypAll entities of a type and its subtypes
Single entityEinzelne EntityOne entity

Each holder can have only one grant per scope.

Properties: each grant also says which properties it covers:

ModeDECovers
All real properties (default)Alle realen PropertiesAll stored properties
Only listed propertiesNur aufgeführte PropertiesOnly the properties in the list
Every property, virtual includedAlle Properties, inklusive virtuellerAlso computed (virtual) properties — only for the scope Everything

For listed properties, you set per property whether it may be read, set when creating, and changed. Delete applies to the whole entity and has no per-property setting.

How Grants Add Up​

  • Grants only add. There is no "deny": a grant can never take away what another grant allows.
  • A user's rights are the sum of the grants for Everyone, the grants to the user directly, and the grants of all their roles — including the roles those roles include. None of them takes precedence.
  • For one entity, these grants count: on Everything, on its type and its parent types, and on this single entity. They apply on every branch.
  • Parts belong to their entity. Relationships, lists and components are decided on the entity that owns them: a change to a relationship is a change of the entity it starts from.
  • Default: out of the box, every type is readable by Everyone. Remove the Everyone grant to make a type private.

What the screens show is calculated by the platform itself, so it always matches what the platform allows.

Saving Changes​

The rights screens work the same everywhere: your edits are a draft until you save them. Removing a row does not ask for confirmation — nothing is stored before you save.

The save bar at the bottom has:

ControlWhat it does
Reason (recorded in the audit log)Why you change the rights. The reason is stored with the change.
Discard changesThrows the draft away.
SaveSaves the draft. Enabled only when something has changed.

After saving, the message Saved. appears — or Saved. The change takes effect in a moment. if the platform applies it with a short delay.

Errors appear directly below the save bar, for example:

  • The change would grant more than you hold yourself: … — you cannot give others more than you have.
  • User … is unknown. They have to sign in once before they can be granted anything.
  • The policy was changed in the meantime. Reload and save again. — someone else saved in the meantime. Click Reload, keep my changes to load their changes and keep your draft, then save again.

What Users Without Rights See​

  • Menu entries and type links they may not read are hidden, and empty groups disappear. The menu updates after rights change (it is cached for up to 5 minutes per user).
  • Buttons are not hidden in advance. If a user tries a change they may not make, the platform refuses it and the warning You do not have permission for this action. appears.
  • Data they may not read behaves as if it did not exist; search results and totals only count what they may read.
  • A user without any role sees only the notice No permissions yet with their user ID — see No Permissions Yet.