Property | Type | Description | |
---|---|---|---|
$cacheEntryIdentifier | string | Unique identifier of this privilege (used for cache entries) | |
$matcher | string | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$parameters | Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] | ||
$parsedMatcher | string | ||
$permission | One of the constants ABSTAIN, GRANT or DENY | ||
$privilegeTarget |
Method | Description | |
---|---|---|
__construct ( |
||
getCacheEntryIdentifier ( ) : string | Unique identifier of this privilege | |
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[] | ||
getParsedMatcher ( ) : string | Returns the matcher string with replaced parameter markers. | |
getPermission ( ) : integer | ||
getPrivilegeTarget ( ) : |
The related privilege target | |
getPrivilegeTargetIdentifier ( ) : string | Unique identifier for the related privilege target (e.g. "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 |
Method | Description | |
---|---|---|
buildCacheEntryIdentifier ( ) : void | Initializes the unique cache entry identifier |
protected buildCacheEntryIdentifier ( ) : void | ||
return | void |
public getCacheEntryIdentifier ( ) : string | ||
return | string |
public getMatcher ( ) : string | ||
return | string |
public getParameters ( ) : Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] | ||
return | Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] |
public getParsedMatcher ( ) : string | ||
return | string |
public getPrivilegeTarget ( ) : |
||
return |
public getPrivilegeTargetIdentifier ( ) : string | ||
return | string |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
return | void |
protected string $cacheEntryIdentifier | ||
return | string |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PrivilegeParameterInterface[],Neos\Flow\Security\Authorization\Privilege\Parameter $parameters | ||
return | Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] |