Property | Type | Description | |
---|---|---|---|
$conditionGenerator | Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlGeneratorInterface | ||
$entityType | string | ||
$isEvaluated | boolean |
Method | Description | |
---|---|---|
getSqlConstraint ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string | Note: The result of this method cannot be cached, as the target table alias might change for different query scenarios | |
matchesEntityType ( string $entityType ) : boolean | ||
matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean | Returns TRUE, if this privilege covers the given subject. As entity privileges are evaluated and enforced "within the database system" in SQL and not by the voting process, this method will always return FALSE. |
Method | Description | |
---|---|---|
evaluateMatcher ( ) : void | parses the matcher of this privilege using Eel and extracts "entityType" and "conditionGenerator" | |
getConditionGenerator ( ) : |
protected evaluateMatcher ( ) : void | ||
return | void |
protected getConditionGenerator ( ) : |
||
return |
public getSqlConstraint ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string | ||
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetTableAlias | string | |
return | string |
public matchesEntityType ( string $entityType ) : boolean | ||
$entityType | string | |
return | boolean |
public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean | ||
$subject | Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface | |
return | boolean |
protected SqlGeneratorInterface,Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine $conditionGenerator | ||
return | Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlGeneratorInterface |