We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be61b2d commit 0b28afeCopy full SHA for 0b28afe
1 file changed
apps/sim/app/api/tools/slack/channels/route.ts
@@ -36,9 +36,8 @@ const SCOPED_USER_ID_PATTERN =
36
function parseScopedSlackUserId(accountId: string): string | null {
37
const match = SCOPED_USER_ID_PATTERN.exec(accountId)
38
if (match) return match[1]
39
- // A marker is present but the id didn't parse — surface it instead of
40
- // silently dropping to the bot `is_member` filter, which would bypass the
41
- // installer-scoped privacy check without any signal.
+ // Marker present but unparseable — surface it rather than silently falling
+ // back to the bot `is_member` filter and bypassing the privacy scope.
42
if (accountId.includes('-usr_')) {
43
logger.warn('Slack accountId carries usr_ marker but did not parse; using is_member fallback', {
44
accountId,
0 commit comments