PHP Interface Neos\Flow\Security\Authorization\Privilege\Entity\EntityPrivilegeInterface

This privilege is capable of filtering entities retrieved from the persistence layer. Usually by rewriting SQL queries.
Inheritance: extends Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface
Datei anzeigen Open project: neos/flow-development-collection

Public Methods

Method Description
getSqlConstraint ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string
matchesEntityType ( $entityType ) : boolean

Method Details

getSqlConstraint() public method

public getSqlConstraint ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string
$targetEntity Doctrine\Common\Persistence\Mapping\ClassMetadata
$targetTableAlias string
return string

matchesEntityType() public method

public matchesEntityType ( $entityType ) : boolean
$entityType
return boolean