UserAuth->authenticate() does not check for access when using getQuery()

Created on 18 June 2024, 5 months ago

Problem/Motivation

Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck().

Steps to reproduce

1. Install email_registration module on Drupal 10.2.7 site
2. attempt to register a new user

Proposed resolution

Add accessCheck() to the query.

Remaining tasks

Merge provided MR !41.

User interface changes

none

API changes

none

Data model changes

none

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States z3cka

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024