FEATURE: setting allowing tl0/anonymous flag illegal content (#30785)

The new site setting `allow_anonymous_and_tl0_to_flag_illegal` allows
tl0 users to flag illegal content. In addition, anonymous users are
instructed on how to flag illegal content by sending emails.

Also `email_address_to_report_illegal_content` setting is added. If not
provided, then the site contact email is used.
This commit is contained in:
Krzysztof Kotlarek
2025-01-17 08:57:44 +11:00
committed by GitHub
parent d3a7b99699
commit 029bd6feda
18 changed files with 231 additions and 22 deletions

View File

@ -164,6 +164,8 @@ describe "Admin Flags Page", type: :system do
admin_flags_page.click_tab("settings")
expect(page.all(".setting-label h3").map(&:text).map(&:downcase)).to eq(
[
"allow tl0 and anonymous users to flag illegal content",
"email address to report illegal content",
"silence new user sensitivity",
"num users to silence new user",
"flag sockpuppets",