A generic Limitation type to use when no other Limitation has been implemented. Without any limitation assigned, a LimitationNotFoundException is thrown.
It is called "blocking" because it will always tell the permissions system that the User does not have access to any Policy it is assigned to, making the permissions system move on to the next Policy.
Identifier | n/a (configured for ezjscore limitation
FunctionList out of the box) |
Value Class | eZ\Publish\API\Repository\Values\User\Limitation\BlockingLimitation |
Type Class | eZ\Publish\Core\Limitation\BlockingLimitationType |
Criterion used | MatchNone |
Role Limitation | no |
Possible values
Value | UI value | Description |
<mixed> | <mixed> | This is a generic Limitation which does not validate the values provided to it. Make sure to validate the values passed to this limitation in your own logic. |
Configuration
As this is a generic Limitation, you can configure your custom Limitations to use it, out of the box FunctionList uses it in the following way: