discourse/plugins/chat/app/controllers/chat
Joffrey JAFFEUX 26c8eab1f3
FIX: allows bots to create/update/stream messages (#26900)
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.
2024-05-07 15:17:42 +02:00
..
admin FEATURE: Export chat messages to CSV file (#22113) 2023-06-21 16:13:36 +04:00
api FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
api_controller.rb DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00
base_controller.rb DEV: Update rubocop-discourse to latest version 2024-03-04 15:08:35 +01:00
chat_controller.rb DEV: removes dead code (message_link) (#24648) 2023-11-30 11:13:37 +01:00
direct_messages_controller.rb DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
emojis_controller.rb FEATURE: Add an emoji deny list site setting (#20929) 2023-04-13 15:38:54 +08:00
incoming_webhooks_controller.rb DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00