Свойство | Тип | Описание | |
---|---|---|---|
$conditionGenerator | Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlGeneratorInterface | ||
$entityType | string | ||
$isEvaluated | boolean |
Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
evaluateMatcher ( ) : void | parses the matcher of this privilege using Eel and extracts "entityType" and "conditionGenerator" | |
getConditionGenerator ( ) : |
protected evaluateMatcher ( ) : void | ||
Результат | void |
protected getConditionGenerator ( ) : |
||
Результат |
public getSqlConstraint ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string | ||
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetTableAlias | string | |
Результат | string |
public matchesEntityType ( string $entityType ) : boolean | ||
$entityType | string | |
Результат | boolean |
public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean | ||
$subject | Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface | |
Результат | boolean |
protected SqlGeneratorInterface,Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine $conditionGenerator | ||
Результат | Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlGeneratorInterface |