Problem/Motivation
RegistrationAccessControlHandler refers to a global 'create registration' permission that does not exist:
protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL): AccessResultReasonInterface|AccessResult|AccessResultInterface {
$result = parent::checkCreateAccess($account, $context, $entity_bundle);
if ($result->isNeutral()) {
$permissions = [
$this->entityType->getAdminPermission() ?: 'administer registration',
'create registration',
];Proposed resolution
Remove that reference.
Add the permission.
Issue fork registration-3461152
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
john.oltman commentedComment #6
john.oltman commentedEnded up going the other direction and adding the permission since it was a shorter path and some sites could benefit, especially those with many registration types.