From 690f1a257acecdf74f8a08271da0600bc450dd1f Mon Sep 17 00:00:00 2001 From: Roman Rizzi Date: Wed, 6 Jan 2021 15:58:07 -0300 Subject: [PATCH] FEATURE: Disable post deletions by setting max_post_deletions to zero. (#11645) Allow admins to set "max_post_deletions_per_minute" and "max_post_deletions_per_day" to prevent users from deleting their posts. --- config/site_settings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/site_settings.yml b/config/site_settings.yml index 50dcefffd33..c0bf6c81697 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -1719,10 +1719,10 @@ rate_limits: min: 1 default: 6 max_post_deletions_per_minute: - min: 1 + min: 0 default: 2 max_post_deletions_per_day: - min: 1 + min: 0 default: 10 invite_link_max_redemptions_limit: min: 2