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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

IdentifierOwner
ClassOwnerLimitation
Possible values
ValueUI valueDescription
1"self"Only user which is owner gets access 
2"session"

Same as "self" unless anonymous user; then access based on content created within session lifetime

Limitation Type

Class

OwnerLimitationType
Criterion usedCriterion\UserMetadata( Criterion\UserMetadata::OWNER )
Supported limitation values
ValueUI valueLike 4.x?
1"self"y (see #2)
2"session"n (see #1)

Notes:

Features in 4.x not supported or working differently in 5.x:

  1. Value "session": Owner("session") works exactly like "self" in 5.x since Public API has no knowledge of user Sessions
  2. User being auto assumed to be owner of himself and get access to edit him/herself when Owner limitation was used*

* Workaround for Owner limitation on user object:

To make sure user gets access to himself when using 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:

  • No labels