PHP 인터페이스 Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface

상속: extends Neos\Cache\CacheAwareInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
getMatcher ( ) : string A matcher string, describing the privilegeTarget (e.g. pointcut expression for methods or EEL expression for entities)
getParameters ( ) : Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[]
getPermission ( ) : string
getPrivilegeTarget ( ) : PrivilegeTarget Returns the related privilege target
getPrivilegeTargetIdentifier ( ) : string Unique name of the related privilege target (for example "Neos.Flow:PublicMethods")
hasParameters ( ) : boolean
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void This object is created very early so we can't rely on AOP for the property injection
isAbstained ( ) : boolean
isDenied ( ) : boolean
isGranted ( ) : boolean
matchesSubject ( PrivilegeSubjectInterface $subject ) : boolean Returns TRUE, if this privilege covers the given subject

메소드 상세

getMatcher() 공개 메소드

A matcher string, describing the privilegeTarget (e.g. pointcut expression for methods or EEL expression for entities)
public getMatcher ( ) : string
리턴 string

getParameters() 공개 메소드

public getParameters ( ) : Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[]
리턴 Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[]

getPermission() 공개 메소드

public getPermission ( ) : string
리턴 string

getPrivilegeTarget() 공개 메소드

Returns the related privilege target
public getPrivilegeTarget ( ) : PrivilegeTarget
리턴 PrivilegeTarget

getPrivilegeTargetIdentifier() 공개 메소드

Unique name of the related privilege target (for example "Neos.Flow:PublicMethods")

hasParameters() 공개 메소드

public hasParameters ( ) : boolean
리턴 boolean

injectObjectManager() 공개 메소드

This object is created very early so we can't rely on AOP for the property injection
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
리턴 void

isAbstained() 공개 메소드

public isAbstained ( ) : boolean
리턴 boolean

isDenied() 공개 메소드

public isDenied ( ) : boolean
리턴 boolean

isGranted() 공개 메소드

public isGranted ( ) : boolean
리턴 boolean

matchesSubject() 공개 메소드

Returns TRUE, if this privilege covers the given subject
public matchesSubject ( PrivilegeSubjectInterface $subject ) : boolean
$subject PrivilegeSubjectInterface
리턴 boolean