A limitation to specify that only owner of content gets a certain access right.
|1||"self"||Only user which is owner gets access|
Same as "self" unless anonymous user; then access based on content created within session lifetime
|Criterion used||Criterion\UserMetadata( Criterion\UserMetadata::OWNER )|
Supported limitation values
|Value||UI value||Like 4.x?|
|1||"self"||y (see #2)|
|2||"session"||n (see #1)|
Features in 4.x not supported or working differently in 5.x:
- Value "session": Owner("session") works exactly like "self" in 5.x since Public API has no knowledge of user Sessions
- 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: