Access checking must be explicitly specified on content entity queries

Created on 30 September 2021, about 3 years ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

Not calling ::accessCheck() has now been deprecated, and all entity queries on content entities should always include an explicit call to ::accessCheck() prior to the query being executed. For Drupal 10 this will be enforced by throwing an exception if ::accessCheck() is not called.

See: https://www.drupal.org/node/3201242

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇧🇷Brazil paulocs Belo Horizonte

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024