0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/chat/app
Isaac Janzen 494c3760f8
FIX: Add server-side check for chat_allow_archiving_channels in archive API (#42173)
## Summary

The chat archive API endpoint `POST
/chat/api/channels/:channel_id/archives` now checks the
`chat_allow_archiving_channels` site setting before processing new
archive requests. When the setting is disabled, the endpoint returns a
403 error, preventing moderators from bypassing the disabled feature
through direct API calls.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1573

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-07-30 09:14:56 -05:00
..
controllers/chat FIX: Add server-side check for chat_allow_archiving_channels in archive API (#42173) 2026-07-30 09:14:56 -05:00
jobs FIX: improve the reliability of chat sounds (#41373) 2026-07-02 18:52:41 -04:00
models FEATURE: Add /me actions to chat 2026-07-29 14:36:34 +00:00
queries/chat FEATURE: allow anonymous users to view public chat channels (#40688) 2026-06-18 15:18:51 -04:00
serializers/chat UX: improve livestream chat messaging (#41750) 2026-07-21 11:07:31 +10:00
services/chat FEATURE: Add /me actions to chat 2026-07-29 14:36:34 +00:00
validators/chat FEATURE: Add setting to prevent anonymous users from using chat (#31842) 2025-03-21 13:32:52 +03:00
views