Fix access check on query

Created on 6 July 2023, over 1 year ago
Updated 17 September 2024, 3 months ago

Problem/Motivation

Upgrade status report: Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.

on:
message_digest/message_digest.post_update.php:42
message_digest/src/Traits/MessageDigestContextTrait.php:197

Steps to reproduce

Scan with Upgrade Status module.

Proposed resolution

Add explicit access check.

Remaining tasks

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024