Skip to content

A private discussion can't be deleted forever if it's recipient unincluded admins and mods. #189

Open
@Kuan-Lun

Description

Bug Report

Steps to Reproduce

  1. Set user can't delete discussions forever.
  2. A user creates a private discussion whose recipient unincluded admins and mods.
  3. The user deletes the above private discussion.
  4. Admins and mods can't see the above private discussion, which implies they can't delete it forever.
  5. We can see the data of the above private discussion in MySQL table discussions. Note that the value of its is_private is 1 implies admins and mods can't see it.

If we want to delete the above private discussion forever, we need to change the value of its is_private to 0, implying that admins and mods can delete it forever.

Expected Behavior
The data in MySQL should be removed.

Screenshots
No.

Environment

  • MySQL version: 10.3.37-MariaDB
  • Flarum core: 1.8.1
  • Extension version: 1.3.2
  • Website URL:
  • Webserver: nginx
  • Hosting environment: nas use docker
  • PHP version: 8.0.29
  • Browser: chrome 114.0.5735.248 and edge 114.0.1823.82

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions