Problem/Motivation

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

Steps to reproduce

Use getRandomEntities() or getMediaByName() from one of your generators. Then load fixtures.

Proposed resolution

Add accessCheck to all entityQuery occurrences.

Remaining tasks

Provide & apply patch.

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Comments

wanjee created an issue. See original summary.

  • wanjee committed 1e5b1c8a on 8.x-1.x
    Issue #3445729: Entity queries must explicitly set whether the query...
wanjee’s picture

wanjee’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.