PHP Class Neos\Flow\Core\Migrations\Version20141113121400

Inheritance: extends AbstractMigration
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
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

Protected Methods

Method Description
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

Method Details

convertEntityResourceMatcher() protected method

Converts the given $resourceMatcher string to the new syntax
protected convertEntityResourceMatcher ( string $entityType, string $resourceMatcher ) : string
$entityType string
$resourceMatcher string
return string

expandRoleIdentifier() protected method

Convert a "relative" role identifier to one that includes the package key
protected expandRoleIdentifier ( string $roleIdentifier ) : string
$roleIdentifier string
return string

getIdentifier() public method

public getIdentifier ( )

processAcls() public method

Removes the "acls" configuration and adds privileges to related roles
public processAcls ( array &$configuration ) : void
$configuration array
return void

processResources() public method

Replaces the "resource" configuration by the new "privilegeTargets" syntax
public processResources ( array &$configuration ) : void
$configuration array
return void

processRoles() public method

Replaces local role identifiers ("SomeRole") by their global representation ("Current.Package:SomeRole") and sets "parentRoles"
public processRoles ( array &$configuration ) : void
$configuration array
return void

up() public method

public up ( ) : void
return void