Prevent Purging Authors and Commenters

Created on 28 December 2023, 6 months ago

Problem/Motivation

It would be beneficial to have something similar to the Role Limitation feature except for content authors or commenters. This will act in a similar way to the Role Limitations. An administrator will be able to protect accounts that have either authored content or commented on content from being purged.

User interface changes

A new fieldset is added alongside the Role Limitation fieldset. This fieldset has two checkboxes.

  • Do not purge users who are content authors
  • Do not purge users who have commented

Data model changes

When the database is queried for inactive users to purge, conditional query statements are added if the admin has selected to protect authors or commenters.

Next Steps

I've included my feature request as a patch against the 4.x-dev branch for the maintainers to review.

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hyperlinked San Jose, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024