Avoid the user account owning the node used for the front page is deleted

Created on 12 December 2019, about 5 years ago
Updated 24 January 2023, almost 2 years ago

If Drupal uses a node as front page, and that user account owning it is deleted (or unpublished) the website would not be able to show the front page and would instead show an error. (In the case the front page node is unpublished, only the users who can see unpublished nodes are still able to see the front page; other users get an access denied error.)

I suggest an extra check when a user gets deleted that displays a message like "If you deletes this owner and his/hers content, the website will have no frontpage. Are you sure you want to do that?" or perhaps even a level of security that prevents admin from deleting that particular user and his/hers content.

Feature request
Status

Needs review

Version

10.1

Component
User module 

Last updated about 7 hours ago

Created by

🇸🇪Sweden adamevertsson

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