matomo_install() should load role without config overrides

Created on 8 December 2022, almost 2 years ago
Updated 14 April 2024, 7 months ago

Problem/Motivation

See 🐛 Prevent saving config entities when configuration overrides are applied Needs work , when editing configuration programmatically, it should be loaded with ConfigEntityStorageInterface::loadOverrideFree(). If not, config overrides will be saved in the database.

Steps to reproduce

  1. Override some permissions in settings.php: $config['user.role.authenticated']['permissions'][7999] = 'access devel information';
  2. Install matomo.
  3. Export the configuration.
  4. The overridden permission is exported as well.

Proposed resolution

matomo_install() should use loadOverrideFree().

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇫🇷France prudloff Lille

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

Merge Requests

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