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
Comment #3
wanjee commentedComment #4
wanjee commented