TASVideos / tasvideos

The code for the live TASVideos website
https://tasvideos.org/
GNU General Public License v3.0
62 stars 29 forks source link

Lock post edits in locked threads #1673

Closed ThunderAxe31 closed 1 year ago

ThunderAxe31 commented 1 year ago

The point of locking a thread is to prevent any further evolution of a discussion deemed by the moderation as disruptive. However, until now users were still able to edit their already existing posts, despite a thread being locked. This is a problem, because users may use edits to keep a conversation going, or even worse, delete evidences of their wrongdoings.

TL;DR: if a thread is locked, make the users unable to edit posts belonging to that thread. This of course shouldn't apply for anyone who has moderator privileges.

Invariel commented 1 year ago

Should probably prevent post deletions in locked threads as well, since the code change is going to be in the same neighbourhood.