Inheritance – Spaces, Container, Contents
Inheritance only occurs if the EntityPermission INHERIT is set for the corresponding entity for the target (the user or group).
Procedure for contents
- If an EntityPermission is set on a piece of content, it is used.
- Otherwise, it is checked whether an EntityPermission is set in the parent element. If so, this EntityPermission is used if the INHERIT right is included. If the INHERIT right is not included, the target has no rights for this entity => the remaining points are then not executed.
- If not, the above point is repeated until the parent element is a space.
- If an EntityPermission is set on the space, it is used if the INHERIT right is included. If the INHERIT right is not included, the target has no rights for this entity.
- If no EntityPermissions are set on the space either, the target has no rights for this entity.
Procedure for spaces
Analogous to the procedure for contents, but with the difference that the first point is a container instead of content.
Procedure for container
The last two points from “Procedure for Contents” are carried out.
Inheritance – Spaces, Container, Contents
If a user is in a group and an EntityPermission is set for another user, on a space, container or content for this group, this EntityPermission also applies to the user.
If an EntityPermission has already been recognized for the user – be it because an EntityPermission was set for the user directly or for another group of the user, this newly found EntityPermission is linked to the existing EntityPermission using bitwise OR.