Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
   eZ Publish 4.x / legacy

eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

A limitation to specify that only users that owns all parent locations of content gets a certain access right, used for content/create permission.

Value ClasseZ\Publish\API\Repository\Values\User\Limitation\ParentOwnerLimitation
Type ClasseZ\Publish\Core\Limitation\ParentOwnerLimitationType
Criterion usedn/a
Role Limitationno
Possible values
ValueUI valueDescription

Only user which is owner of all parent locations gets access (see "Legacy compatibility notes" #2)


Same as "self" (see "Legacy compatibility notes" #1)

Legacy compatibility notes:
  1. Owner("session") is deprecated and works exactly like "self" in Public API since it has no knowledge of user Sessions
  2. User is no longer auto assumed to be owner of himself and get access create children of own user content object when Owner limitation is used in Public API*

* Workaround for ParentOwner limitation on user object (when user object is the parent of the content being created):

To make sure user gets access to himself when using (Parent)Owner limitation across 4.x and 5.x, the solution is to change the user to be owner of himself.
This is accomplished using a privileged user to do the following API calls: