fix: default groupPolicy to allowlist

This commit is contained in:
Peter Steinberger committed 2026-01-12 08:22:01 +00:00
1 parent ba3158e01a
commit 842e91d019
28 files changed
+183 -47

No files matched your search

+1 -1
View File
@@ -493,7 +493,7 @@ export async function monitorSlackProvider(opts: MonitorSlackOpts = {}) {
const groupDmChannels = normalizeAllowList(dmConfig?.groupChannels);
const channelsConfig = slackCfg.channels;
const dmEnabled = dmConfig?.enabled ?? true;
const groupPolicy = slackCfg.groupPolicy ?? "open";
const groupPolicy = slackCfg.groupPolicy ?? "allowlist";
const useAccessGroups = cfg.commands?.useAccessGroups !== false;
const reactionMode = slackCfg.reactionNotifications ?? "own";
const reactionAllowlist = slackCfg.reactionAllowlist ?? [];