Свойство | 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 |
Méthode | 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 |
Méthode | Description | |
---|---|---|
buildCacheEntryIdentifier ( ) : void | Initializes the unique cache entry identifier |
protected buildCacheEntryIdentifier ( ) : void | ||
Résultat | void |
public getCacheEntryIdentifier ( ) : string | ||
Résultat | string |
public getMatcher ( ) : string | ||
Résultat | string |
public getParameters ( ) : Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] | ||
Résultat | Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] |
public getParsedMatcher ( ) : string | ||
Résultat | string |
public getPrivilegeTarget ( ) : |
||
Résultat |
public getPrivilegeTargetIdentifier ( ) : string | ||
Résultat | string |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
Résultat | void |
protected string $cacheEntryIdentifier | ||
Résultat | string |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
Résultat | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PrivilegeParameterInterface[],Neos\Flow\Security\Authorization\Privilege\Parameter $parameters | ||
Résultat | Neos\Flow\Security\Authorization\Privilege\Parameter\PrivilegeParameterInterface[] |