mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 01:24:48 +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. |
||
---|---|---|
.. | ||
admin | ||
chat | ||
core_ext | ||
application_controller_spec.rb | ||
chat_controller_spec.rb | ||
direct_messages_controller_spec.rb | ||
emojis_controller_spec.rb |