Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   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

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A limitation to specify that only owner of content gets a certain access right.

IdentifierOwner
Value ClasseZ\Publish\API\Repository\Values\User\Limitation\OwnerLimitation
Type ClasseZ\Publish\Core\Limitation\OwnerLimitationType
Criterion usedeZ\Publish\API\Repository\Values\Content\Query\Criterion\UserMetadata( UserMetadata::OWNER )
Role Limitationno
Possible values
ValueUI valueDescription
1"self"

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

2"session"

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 to edit him/herself when Owner limitation is used in Public API*

* Workaround for Owner limitation on user object:

...