Add accessCheck call for Drupal 10

Created on 19 January 2024, 5 months ago
Updated 15 March 2024, 4 months ago

Problem/Motivation

accessCheck() method should be explicitly called In Drupal 10 for all entity queries otherwise, an exception will be thrown.
See https://www.drupal.org/node/3201242

Proposed resolution

Add explicit call of accessCheck() on every entity query.

Remaining tasks

API changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇦🇷Argentina DIOH

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

Comments & Activities

  • Issue created by @DIOH
  • Status changed to Needs review 4 months ago
  • 🇮🇳India sarwan

    Hi @DIOH,

    I have fixed this issue "Add accessCheck call for Drupal 10 and Call to deprecated function watchdog_exception() " and also attached patch,
    please review and verify.

Production build 0.69.0 2024