refactor(synology-chat): centralize DM auth and fail fast startup

This commit is contained in:
Peter Steinberger
2026-02-24 23:28:24 +00:00
parent e7a5f9f4d8
commit 9fccf60733
7 changed files with 245 additions and 16 deletions

View File

@@ -72,7 +72,7 @@ Config values override env vars.
- `dmPolicy: "allowlist"` is the recommended default.
- `allowedUserIds` accepts a list (or comma-separated string) of Synology user IDs.
- In `allowlist` mode, an empty `allowedUserIds` list blocks all senders (use `dmPolicy: "open"` for allow-all).
- In `allowlist` mode, an empty `allowedUserIds` list is treated as misconfiguration and the webhook route will not start (use `dmPolicy: "open"` for allow-all).
- `dmPolicy: "open"` allows any sender.
- `dmPolicy: "disabled"` blocks DMs.
- Pairing approvals work with: