Class

eZ\Publish\SPI\Persistence\User\Policy

class Policy extends ValueObject

Properties

mixed $id ID of the policy.
mixed $roleId Foreign ID of the role.
int|null $originalId Only used when the role's status, current policy belongs to, is Role::STATUS_DRAFT.
string $module Name of module, associated with the Policy.
string $function Name of the module function Or all functions with '*'.
array|string $limitations Array of policy limitations, which is just a random hash map.