프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$identifier | string | ||
$matcher | string | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$parameterDefinitions | |||
$privilegeClassName | string |
메소드 | 설명 | |
---|---|---|
__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 |
리턴 | Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface |
public getParameterDefinitions ( ) : |
||
리턴 |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
리턴 | void |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
리턴 | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PrivilegeParameterDefinition[],Neos\Flow\Security\Authorization\Privilege\Parameter $parameterDefinitions | ||
리턴 |