fix: default groupPolicy to allowlist
This commit is contained in:
1 parent
ba3158e01a
commit
842e91d019
28 files changed
+183
-47
No files matched your search
@@ -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 ?? [];
|
||||
|
||||
Reference in new issue
Block a user