ddl messages triggered by users without 'access devel information' permission are empty

Created on 5 May 2025, about 1 month ago

Problem/Motivation

when calling ddl() the message is not logged if the acting user does not have the ''access devel information' permission.

ddl() calls \Drupal::service('devel.dumper')->dump($message);
Which in turn relies on the permission 'access devel information' to generate the message.

This makes sense for the devel module itself, but here we want to still log the message even if the actiing user cant view the message.

Proposed resolution

Create a function in this module that can log the message without a permission check.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

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