Can we remove a user's flag history after mistaken reports?

Currently, Discourse does not provide a way to delete a user’s flag history via the UI or API. This limitation can be problematic in larger forums, especially in cases where reports are mistakenly made or later determined to be invalid.

One concrete issue is that some users may be wrongly flagged multiple times. These flags might initially appear valid during a cursory review but are later found to be incorrect upon closer examination. However, the flag history remains, and it can negatively impact the user’s trust level. For example, a user might be demoted from TL3 to TL2 due to flag records that arguably should not have been counted in the first place.

Is there any plan to address this? It would be extremely helpful if staff could either:

  • Remove individual flag records,
  • Mark certain reports as invalid and exclude them from affecting TL metrics,
  • Or otherwise reset the flag impact for specific posts or users.

If there’s no current plan for this, is there at least a recommended or safe way to delete flag history entries through the Rails Console for a specific post or user?

1 Like