FEATURE: auto_action_type field for flags (#29306)

Allow admins to specify if the flag should be `auto_action_type`. If yes, then when an admin flags a post,  it is automatically actioned.

Meta: https://meta.discourse.org/t/allow-creation-of-custom-flags-which-auto-hide-content-similar-to-spam-and-inapproriate/329894
This commit is contained in:
Krzysztof Kotlarek
2024-10-22 10:56:31 +11:00
committed by GitHub
parent 08911eac8f
commit 644e6c7f46
8 changed files with 60 additions and 6 deletions

View File

@@ -5679,6 +5679,8 @@ en:
non_deletable: "You cannot delete this flag because it is a system flag or has already been used in the review system, however you can still disable it."
require_message: "Prompt users to provide additional reasons"
require_message_description: "When this flag is selected, a text field will be displayed for the user to provide additional detail about why they are flagging the content"
auto_action_type: "Auto action type"
auto_action_type_description: "When a post is flagged by a staff member it is automatically hidden"
more_options:
title: "More options"
move_up: "Move up"