PHP 클래스 Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\EntityPrivilege

상속: extends Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege, implements Neos\Flow\Security\Authorization\Privilege\Entity\EntityPrivilegeInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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 ( ) : ConditionGenerator

메소드 상세

evaluateMatcher() 보호된 메소드

parses the matcher of this privilege using Eel and extracts "entityType" and "conditionGenerator"
protected evaluateMatcher ( ) : void
리턴 void

getConditionGenerator() 보호된 메소드

protected getConditionGenerator ( ) : ConditionGenerator
리턴 ConditionGenerator

getSqlConstraint() 공개 메소드

Note: The result of this method cannot be cached, as the target table alias might change for different query scenarios
public getSqlConstraint ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string
$targetEntity Doctrine\Common\Persistence\Mapping\ClassMetadata
$targetTableAlias string
리턴 string

matchesEntityType() 공개 메소드

public matchesEntityType ( string $entityType ) : boolean
$entityType string
리턴 boolean

matchesSubject() 공개 메소드

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.
public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean
$subject Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface
리턴 boolean

프로퍼티 상세

$conditionGenerator 보호되어 있는 프로퍼티

protected SqlGeneratorInterface,Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine $conditionGenerator
리턴 Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlGeneratorInterface

$entityType 보호되어 있는 프로퍼티

protected string $entityType
리턴 string

$isEvaluated 보호되어 있는 프로퍼티

protected bool $isEvaluated
리턴 boolean