PHP Interface Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface

Inheritance: extends Neos\Cache\CacheAwareInterface
Afficher le fichier Open project: neos/flow-development-collection Interface Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

getMatcher() public méthode

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

getParameters() public méthode

public getParameters ( ) : Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[]
Résultat Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[]

getPermission() public méthode

public getPermission ( ) : string
Résultat string

getPrivilegeTarget() public méthode

Returns the related privilege target
public getPrivilegeTarget ( ) : PrivilegeTarget
Résultat PrivilegeTarget

getPrivilegeTargetIdentifier() public méthode

Unique name of the related privilege target (for example "Neos.Flow:PublicMethods")
public getPrivilegeTargetIdentifier ( ) : string
Résultat string

hasParameters() public méthode

public hasParameters ( ) : boolean
Résultat boolean

injectObjectManager() public méthode

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
Résultat void

isAbstained() public méthode

public isAbstained ( ) : boolean
Résultat boolean

isDenied() public méthode

public isDenied ( ) : boolean
Résultat boolean

isGranted() public méthode

public isGranted ( ) : boolean
Résultat boolean

matchesSubject() public méthode

Returns TRUE, if this privilege covers the given subject
public matchesSubject ( PrivilegeSubjectInterface $subject ) : boolean
$subject PrivilegeSubjectInterface
Résultat boolean