fix(channels): honor paired DM policy before publish (#1313)

Co-authored-by: ntduc <ntduc@cpp.ai.vn>
This commit is contained in:
Duc Nguyenandntduc authored and GitHub committed 2026-07-01 10:24:48 +07:00
1 parent 2516127752
commit c02fb660bc
12 files changed
+261 -42

No files matched your search

+19
View File
@@ -4,6 +4,25 @@ Significant changes, features, and fixes in reverse chronological order.
---
## 2026-07-01
### Paired DM routing after policy checks
**Fixes**
- Policy-checked direct messages now pass the shared channel safety gate for
Zalo OA, Zalo Personal, Bitrix24, and Slack when the sender is paired but not
listed in static `allow_from`.
- Direct-message callers without an explicit policy gate still use the default
`allow_from` safety net.
**Tests**
- Added regression coverage for paired Zalo-style and Slack DMs with an
allowlist mismatch, plus guard coverage for non-policy direct callers.
---
## 2026-06-27
### Feishu/Lark group pairing stability