RegistrationAccessControlHandler should rely on RegistratonHostEntityHandler to consider the validation for edit access

Created on 6 January 2025, 3 days ago

Problem/Motivation

In 📌 Replace HostEntity::isEnabledForRegistration Active we added this:

    if (($operation == 'update') && $result->isAllowed()) {
      $validation_result = $host_entity->isEditableRegistration($entity, $account, TRUE);
      $editable_result = AccessResult::allowedIf($validation_result->isValid())

Possibly this is better suited to the HostEntityHandler.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.3

Component

Registration Core

Created by

🇬🇧United Kingdom jonathanshaw Stroud, UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024