Global navigation

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

Limitations are the building blocks of the permission system in 5.x, they provide the limitations you can apply to a given access rights to limit the rights to certain conditions.

Limitations consists of two parts:

  • Limitation
  • LimitationType


The 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):

MethodUsed when
evaluateEvaluating if user has access to a given object, under a certain condition (for instance it's Locations in case of Content)
getCriterionGenerates a Criterion which SearchService by default applies to search criteria for filtering search based on permissions
  • No labels