PHP Class Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilege

Inheritance: extends Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege, implements Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeInterface
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$methodPermissions array
$pointcutFilter Neos\Flow\Aop\Pointcut\PointcutFilter
$runtimeExpressionEvaluator Neos\Flow\Aop\Pointcut\RuntimeExpressionEvaluator

Méthodes publiques

Méthode Description
getPointcutFilterComposite ( ) : PointcutFilterComposite Returns the pointcut filter composite, matching all methods covered by this privilege
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void This object is created very early so we can't rely on AOP for the property injection This method also takes care of initializing caches and other dependencies.
matchesMethod ( string $className, string $methodName ) : boolean Returns TRUE, if this privilege covers the given method
matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean Returns TRUE, if this privilege covers the given subject (join point)

Méthodes protégées

Méthode Description
initialize ( ) : void

Method Details

getPointcutFilterComposite() public méthode

Returns the pointcut filter composite, matching all methods covered by this privilege
public getPointcutFilterComposite ( ) : PointcutFilterComposite
Résultat Neos\Flow\Aop\Pointcut\PointcutFilterComposite

initialize() protected méthode

protected initialize ( ) : void
Résultat void

injectObjectManager() public méthode

This object is created very early so we can't rely on AOP for the property injection This method also takes care of initializing caches and other dependencies.
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
Résultat void

matchesMethod() public méthode

Returns TRUE, if this privilege covers the given method
public matchesMethod ( string $className, string $methodName ) : boolean
$className string
$methodName string
Résultat boolean

matchesSubject() public méthode

Returns TRUE, if this privilege covers the given subject (join point)
public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean
$subject Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface
Résultat boolean

Property Details

$methodPermissions protected_oe static_oe property

protected static array $methodPermissions
Résultat array

$pointcutFilter protected_oe property

protected PointcutFilter,Neos\Flow\Aop\Pointcut $pointcutFilter
Résultat Neos\Flow\Aop\Pointcut\PointcutFilter

$runtimeExpressionEvaluator protected_oe property

protected RuntimeExpressionEvaluator,Neos\Flow\Aop\Pointcut $runtimeExpressionEvaluator
Résultat Neos\Flow\Aop\Pointcut\RuntimeExpressionEvaluator