Property | Type | Description | |
---|---|---|---|
$identifier | string | ||
$matcher | string | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$parameterDefinitions | |||
$privilegeClassName | string |
Method | Description | |
---|---|---|
__construct ( string $identifier, string $privilegeClassName, string $matcher, array $parameterDefinitions = [] ) | ||
createPrivilege ( string $permission, array $parameters = [] ) : Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface | ||
getIdentifier ( ) : string | ||
getMatcher ( ) : string | ||
getParameterDefinitions ( ) : |
||
getPrivilegeClassName ( ) : string | ||
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 |
public createPrivilege ( string $permission, array $parameters = [] ) : Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface | ||
$permission | string | one of "GRANT", "DENY" or "ABSTAIN" |
$parameters | array | Optional key/value array with parameter names and -values |
return | Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface |
public getParameterDefinitions ( ) : |
||
return |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
return | void |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PrivilegeParameterDefinition[],Neos\Flow\Security\Authorization\Privilege\Parameter $parameterDefinitions | ||
return |