Delete operation is not restricted while site is in read only mode

Created on 10 September 2025, 4 days ago

Problem/Motivation

When site is in read only mode no entities can be created or updated. But it is still possible to delete entities from web UI. I believe read only mode should also restrict "Delete" operation.

Steps to reproduce

  1. Switch on "Read only" mode here '/admin/config/development/maintenance'.
  2. Try to create a node - observe that validation fails and it is not possible.
  3. Try to update a node - observe that validation fails and it is not possible.
  4. Try to delete a node - observe the successful delete operation.

Proposed resolution

The "Delete" operation should be not possible while Read Only mode is on. Maybe it should be optional with configuration setting to force it.

Remaining tasks

Create MR

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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