protected function expandRoleIdentifier($roleIdentifier)
    {
        if (strpos($roleIdentifier, ':') !== false) {
            return $roleIdentifier;
        }
        if (in_array($roleIdentifier, array('Everybody', 'Anonymous', 'AuthenticatedUser'))) {
            return 'Neos.Flow:' . $roleIdentifier;
        }
        return $this->targetPackageData['packageKey'] . ':' . $roleIdentifier;
    }
protected function expandRoleIdentifier($roleIdentifier)
    {
        if (strpos($roleIdentifier, ':') !== false) {
            return $roleIdentifier;
        }
        if (in_array($roleIdentifier, array('Everybody', 'Anonymous', 'AuthenticatedUser'))) {
            return 'Neos.Flow:' . $roleIdentifier;
        }
        return $this->targetPackageData['packageKey'] . ':' . $roleIdentifier;
    }
protected function expandRoleIdentifier ( $ roleIdentifier ) { if ( strpos ( $ roleIdentifier , ':' ) !== false ) { return $ roleIdentifier ; } if ( in_array ( $ roleIdentifier , array ( 'Everybody' , 'Anonymous' , 'AuthenticatedUser' ) ) ) { return 'Neos.Flow:' . $ roleIdentifier ; } return $ this -> targetPackageData [ 'packageKey' ] . ':' . $ roleIdentifier ; }
Convert a "relative" role identifier to one that includes the package key

@param string $roleIdentifier
@return string
Convert a relative role identifier to one that includes the package key