byobu icon indicating copy to clipboard operation
byobu copied to clipboard

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

Open Kuan-Lun opened this issue 2 years ago • 0 comments

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

Kuan-Lun avatar Jul 22 '23 21:07 Kuan-Lun