mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 07:43:38 +08:00
26c8eab1f3
Prior to this commit, only system users had this pass. Another significant change of the PR, is to make membership of a channel the angular stone of the permission check to create/update/stop streaming a message. The idea being, if you are a member of a channel already we don't need to check if you can join it AGAIN. We also have `Chat::AutoRemove::HandleCategoryUpdated` which will deal with permissions change so it's simpler and less prone to error to consider the membership as the only source of truth. |
||
---|---|---|
.. | ||
chat | ||
category_spec.rb | ||
user_option_spec.rb | ||
user_spec.rb |