Allow to delete sections having lock settings

Created on 6 June 2022, over 2 years ago
Updated 10 February 2024, 9 months ago

Problem/Motivation

The sections with lock settings (for example with the lock for adding new blocks) can't be deleted but by users with the permission "Bypass lock settings on layout overrides"

Steps to reproduce

  • Login As a user with the permission "Bypass lock settings on layout overrides".
  • Add a section to a content on layout builder, or edit an existing one.
  • Set any layout_builder_lock settings and save the section.
  • Login as a user without the permission "Bypass lock settings on layout overrides".
  • Is not possible to remove the section anymore.

Proposed resolution

Don't block the sections from being deleted

Remaining tasks

  • Patch
  • Review
  • Test

User interface changes

The user without the permission to "Bypass lock settings on layout overrides" can see the button to delete a section with layout_builder_lock settings aready applied.

API changes

None

Data model changes

None

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain akalam

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