A Limitation to specify that only the Users who owns all parent Locations of a Content item gets a certain access right, used for content/create
permission.
Identifier | ParentOwner |
Value Class | eZ\Publish\API\Repository\Values\User\Limitation\ParentOwnerLimitation |
Type Class | eZ\Publish\Core\Limitation\ParentOwnerLimitationType |
Criterion used | n/a |
Role Limitation | no |
Value | UI value | Description |
1 | "self" | Only the User who is the owner of all parent Locations gets access |
2 | "session" | Same as "self" |
Owner
limitation is used in Public APITo make sure the User gets access to themselves when using (Parent)OwnerLimitation across 4.x and 5.x, the solution is to change the User to be the owner of their own Content item. This is accomplished using a privileged user to do the following API calls:
|