I’m working with a client who wants to prevent the deletion of posts after a time period. We have a grace period enabled for editing, and I had assumed that carried over to deletion as well.
My search of meta and of the settings isn’t turning anything up. Is there something I’m missing?
Odd this is the first time I have heard this request, it does sound like a reasonable request to me, but given it is so rare I do not think it is going to find its way into the product for many years.
As it stands your 2 options are
Write a simple plugin that introduces this, would probably only be 10 lines of code. You can commission it on marketplace
Archive topics where you want to disable deletion. End users can not withdraw content from archived topics.
This happened multiple times on our forum, usually when users are already disciplined by silencing or locking to TL0 (to prevent them from posting without review), so stricter setting for bulk deleting old posts would be appreciated.
Yeah, exactly. In our case, it’s within a day or two (granted, it’s a niche community, but deleting posts disrupts some of the conversations so my clients would like to disable that ability for non-admins).
I’m pretty sure our existing ratelimits on deletion have successfully stopped self-deletion rampages before they get too far - that was the original goal. However, there’s a really low chance that moderators actually notice the ones that did go through.
Perhaps a review (self-)deletions older than minutes setting could do this job? Note: Having an active Reviewable on the post will prevent the self-delete from completing.
Is this as simple as changing the min on max_post_deletions_per_day and max_post_deletions_per_minute to zero in site_settings.yml? If so, I’m happy to do that PR myself.