flarum / flarum/issue-archive

Antispam: Posts flagged by Akismet need to be restored by user after admin approval

Open
#388 8 comments 0 reactions 0 assignees View on GitHub
type/feature
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Based on a Gitter conversation with user "lkhrs" (posting in the forums as Cactus):

When a moderator clears a post that Akismet has flagged as spam, it appears to the user who posted it as though it was deleted by that user. (At least, that's what it sounds like is happening.) The user has to Restore it to make it visible.

I can't say whether other non-moderator users are also seeing the post as deleted. If that's true, this bug could be further delaying contributions that have already been delayed once by an Akismet false positive.

Additional thoughts on the subject:

It might be a good idea to add a setting (if one doesn't already exist) to allow admins to configure what happens to posts flagged by Akismet, as follows:
- The post is reported and withheld for moderator approval (current behavior)
- The post is reported by displayed as normal

The latter setting would be useful in cases where Akismet is giving too many false positives and/or the forum moderators don't have the capacity to react quickly to reports.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing the Akismet moderation flow described in the report and determine why an admin-cleared post still appears deleted to its author; done means the approved post is visible without requiring user restoration, with the optional display setting treated as a separate scope question.

Written by the indexing model from the issue text.

Assessment

Domain
backend, content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.