Block writing of enforced config

Created on 12 August 2020, over 4 years ago
Updated 18 September 2024, 7 months ago

Problem/Motivation

We currently advertise 3 levels of enforcement:

  1. "Allow form & API updates"
  2. "Allow only API updates"
  3. "Read-only, no updates"

The last of these, "Read-only, no updates", has not yet been implemented.

Steps to reproduce

  1. With Config Enforce Devel, flag a given config form as enforced, and set the level of enforcement to "Read-only, no updates".
  2. Disable Config Enforce Devel.
  3. Visit the "Edit Config" page provided by the Devel module.
  4. Edit and save the config that was flagged in Step 1.
  5. Observe that the config can be saved.

Proposed resolution

Implement event listeners, or an alternative storage service that will block writes to config.

See the mechanisms in Configuration Read-only mode and Configuration Development for inspiration.

Remaining tasks

TBD

User interface changes

None.

API changes

None.

Data model changes

TBD

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada ergonlogic Montréal, Québec 🇨🇦

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