Module Description
Synopsis
This module adds a permission 'delete homepage node'. Users with this permission can delete the node that is defined as frontpage in the system settings, if other permissions allow them to. Users without this permission cannot. The main goals is to prevent deletion, not to grant users the permission to do so. So if other permissions prevent them from deleting a node, granting them this permission will not change that.

Users who cannot delete this page will not see the delete-button on the nodes, and also this option will not be available on the administer content view.

Usage
- Install with composer composer require 'drupal/prevent_homepage_deletion:^2.0' - Enable the module - Find the new permission to delete the homepage - Grand it to users with care (if the user also has the 'bypass node access'-permission, this will overrule the working of this module)

Similar projects and how they are different

* Delete homepage permission (Drupal 7.x) This module is only available for Drupal 7.

Project Usage
5135
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to prevent users from deleting the frontpage node by adding a specific permission, 'delete homepage node'.
Data Name
prevent_homepage_deletion

OPENAI CHATBOT

OPENAI CHATBOT

16:24:10
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.