Limitations are the building blocks of the permission system in 5.x, they provide the limitations you can apply to a given access right to limit the right to certain conditions.
Limitations consists of two parts:
Certain limitations are also "RoleLimitations", meaning they can be used to limit the rights of a Role assignment, this is currently
Limitation represent the value, while
LimitationType deals with the business logic surrounding how it actually works and is enforced.
LimitationTypes have two modes of operation in regards to permission logic (see
eZ\Publish\SPI\Limitation\Type interface for more info):
|Evaluating if user has access to a given object in a certain context (for instance a context can be Locations when object is |
|Generates a |