Content overview locked page
Locked pages admin form

This project is not covered by Drupal’s security advisory policy.

This module locks and prevents certain nodes/pages from being deleted via the UI and access control handler access method regardless of permission or role (even admin). This will be useful for safe guarding important or valuable pages that should never be deleted under any circumstance. Especially helpful for pages created in layout builder that would be tedious or difficult to duplicate. Locked nodes will also be identifiable in the content overview page by the '🔒' symbol to the right of the title.

Post-Installation and Usage

  1. Navigate to /admin/content/lock-pages and search then select node(s) you want to lock.
  2. From the same lock page, you can uncheck locked pages to allow for them to be deleted.
  3. You can set permissions under Page Deletion Guard > Manage locked pages. Giving this permission will allow a user to access the admin form on /admin/content/lock-pages to lock and unlock pages.

Similar projects

Supporting organizations: 

Project information

Releases