Метод | Описание | |
---|---|---|
getIdentifier ( ) | ||
processAcls ( array &$configuration ) : void | Removes the "acls" configuration and adds privileges to related roles | |
processResources ( array &$configuration ) : void | Replaces the "resource" configuration by the new "privilegeTargets" syntax | |
processRoles ( array &$configuration ) : void | Replaces local role identifiers ("SomeRole") by their global representation ("Current.Package:SomeRole") and sets "parentRoles" | |
up ( ) : void |
Метод | Описание | |
---|---|---|
convertEntityResourceMatcher ( string $entityType, string $resourceMatcher ) : string | Converts the given $resourceMatcher string to the new syntax | |
expandRoleIdentifier ( string $roleIdentifier ) : string | Convert a "relative" role identifier to one that includes the package key |
protected expandRoleIdentifier ( string $roleIdentifier ) : string | ||
$roleIdentifier | string | |
Результат | string |
public processAcls ( array &$configuration ) : void | ||
$configuration | array | |
Результат | void |
public processResources ( array &$configuration ) : void | ||
$configuration | array | |
Результат | void |
public processRoles ( array &$configuration ) : void | ||
$configuration | array | |
Результат | void |