Direct post deletion causes inappropriate automatic approval of "It's Illegal" flag

Priority/Severity:

Medium

Platform

Operating System

Windows 11

Browser

Google Chrome 138.0.7204.96

Discourse

31ed2620caa780c941c6cff2a8ecaeffcbdbb14b

Description:

In addition to acting on flags raised by the users, staff members may monitor the forum and directly delete inappropriate posts they notice. If a staff member deletes a post that has an unreviewed flag, the review queue item is automatically approved by that staff member.

Although this behavior can result in inappropriate approval of flags in some cases, it is reasonable in the case of the standard moderation flags.

When the user raises a flag, they must select from a list of reasons for the flag. One of the items on this list is ā€œIt’s Illegalā€. This flag reason is distinctive in that it is used to fulfill the forum operator’s regulatory requirement to provide a mechanism for reporting illegal content.

The ā€œIt’s Illegalā€ flag reason is regularly found to have been been chosen inappropriately by the flagger. In cases where the content is inappropriate, but not illegal, the most appropriate action is for the flag reviewer to click the ā€œIgnoreā€ or ā€œNoā€ button in the review interface (depending on whether the flagger’s claim of illegality was made in good faith) and remove the flagged content. It will be most appropriate to only click the ā€œYesā€ button when the flagged content does appear to be illegal.

:bug: If a staff member directly deletes an inappropriate but not illegal post that has been flagged as ā€œIt’s Illegalā€, this results in the inadvertent and inappropriate approval of the flag. This flag status may result in confusion and wasted time in the course of the forum operator’s associated internal bureaucratic procedures and legally mandated reporting.

Reproducible steps:

  1. Log into a forum account that has staff privileges.
  2. Click the flag icon at the bottom of a throwaway post.
    The ā€œThanks for keeping our community civil!ā€ dialog will open.
  3. Select the ā€œIt’s Illegalā€ radio button.
    A ā€œLet us know specifically why you believe this content is illegalā€¦ā€ field will appear.
  4. Type a message in the ā€œLet us know specifically why you believe this content is illegalā€¦ā€ field.
  5. Click the ā€œMessageā€ button.
  6. Directly delete the flagged post by clicking the trash can icon under the post.
  7. Navigate to the forum’s /review?sort_order=created_at&status=approved page.

:bug: The status of the flag is ā€œFlag approvedā€, even though you did not explicitly approve the flag.

Additional context

The best way to handle this situation is to always leave ā€œIt’s Illegalā€ flags in the review queue until a staff member has explicitly reviewed the flag.

4 Likes

Thanks for reporting, I notified the staff experience team and we will be having a look over the next few weeks.

This is an area we are actively working on at the moment!

4 Likes

I’ve just merged a PR that fixes the behavior you described @per1234:

Now, when a post flagged as illegal is deleted directly, its associated review item won’t be approved automatically anymore.

2 Likes