flarum / flarum/issue-archive

Approval can be circumvented

Open
#207 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-verification org/keep
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Bug Report

Current Behavior
The approval can be circumvented.

Steps to Reproduce

  1. User create a post on a tag that requires approval
  2. Moderator undo the signaling (not approving it) or delete the post
  3. User post a new content in the same post
  4. Post is visible for anyone

Expected Behavior

  1. If I delete a post in a discussion that only have 1 post, the discussion should be hidden!
  2. Removing the moderator signal from an unapproved discussion should not allow replies (or, better yet: automaticaly lock the discussion and inform the user why it was not approved)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are mentioned. Start by reproducing the four listed steps and trace how approval signals, post deletion, and new replies affect discussion visibility and locking. Done means deleted or unapproved single-post discussions cannot remain visible or accept replies, with the expected user notification behavior clarified.

Written by the indexing model from the issue text.

Assessment

Domain
authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.