Entity queries must explicitly set whether the query should be access checked or not

Created on 31 October 2023, about 1 year ago
Updated 1 February 2024, 11 months ago

Problem/Motivation

Steps to reproduce

Install Drupal core update => 10.1.5
Open the homepage

Proposed resolution

add accessCheck(TRUE) in line 141 from docroot/core/lib/Drupal/Core/Entity/Query/Sql/Query.php

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ’¬ Support request
Status

Closed: outdated

Version

10.1 ✨

Component
EntityΒ  β†’

Last updated 8 minutes ago

Created by

πŸ‡΅πŸ‡­Philippines mikeocana

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

Comments & Activities

  • Issue created by @mikeocana
  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

    This is the job of the calling code

    Can you provide a stack trace for this?

    You should be able to enable verbose logging from admin > config > development > logging

  • Status changed to Closed: outdated 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

    This issue appears to be inactive for some time now. I'm closing as outdated. Feel free to re-open if this is still an issue.

Production build 0.71.5 2024