protected function normalizeRoleIdentifier($roleIdentifier)
{
if (strpos($roleIdentifier, ':') === false) {
$roleIdentifier = 'Neos.Neos:' . $roleIdentifier;
}
if (!$this->policyService->hasRole($roleIdentifier)) {
throw new NoSuchRoleException(sprintf('The role %s does not exist.', $roleIdentifier), 1422540184);
}
return $roleIdentifier;
}