mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:09:00 +08:00
54ad50eda1
When staff decides to hide a flagged post, and it's the first post on the topic, the post owner shouldn't be able to edit either of them until the cooldown finishes. Edit either of them automatically, unhides the post, and makes the topic visible when there's a flag involved. Reported on meta: https://meta.discourse.org/t/users-can-edit-flagged-topic-title-when-they-should-not-be-able-to/217796 |
||
---|---|---|
.. | ||
bookmark_guardian.rb | ||
category_guardian.rb | ||
ensure_magic.rb | ||
group_guardian.rb | ||
post_guardian.rb | ||
post_revision_guardian.rb | ||
tag_guardian.rb | ||
topic_guardian.rb | ||
user_guardian.rb |