Skip to content

fix(objects): Require membership for Slack guests on message cards - #3314

Merged
BYK merged 1 commit into
mainfrom
fix/slack-guest-message-cards
Nov 12, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/slack-guest-message-cards

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Problem

Slack message link cards (#3308) resolve a public-channel message for any viewer with a linked Slack account. A Slack guest sees only the channels they are in. So a guest could read the snippet of a message in a public channel that they cannot open in Slack. Warden found this on #3308 after it merged.

Fix

A public channel resolves without a membership check only when users.info says that the viewer is a full workspace member (is_restricted and is_ultra_restricted are both false). A guest, a person that Slack does not describe, and any private channel, DM, or group DM need channel membership, as before. lookupSlackUser now returns isGuest when Slack sends both fields.

Tests

tests/integration/api/objects.test.ts: a guest who is not in a public channel gets no card, and the response does not contain the channel name. A full member still gets the card. The test fails without the fix. Also ran typecheck, lint, and the tests that use users.info.

--

View Session [Sentry]

A Slack guest sees only the channels they are in. A public channel now
resolves without a membership check only for a full workspace member.
@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 12, 2026 11:12pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

18 screenshot changes — 18 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Attachment Zoom · Mobile
Conversation Attachment Zoom · Mobile
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Captured Memories Popover · Mobile
Conversation Captured Memories Popover · Mobile
Changed
Show 12 more changed screenshots
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Question Stepper · Desktop
Conversation Question Stepper · Desktop
Changed
Conversation Question Stepper Light · Desktop
Conversation Question Stepper Light · Desktop
Changed
Conversation Share Details · Desktop
Conversation Share Details · Desktop
Changed
Conversation Task Line · Desktop
Conversation Task Line · Desktop
Changed
Conversations Sections Collapsed · Desktop
Conversations Sections Collapsed · Desktop
Changed
Memories · Mobile
Memories · Mobile
Changed
Push Notifications Tip · Desktop
Push Notifications Tip · Desktop
Changed
Push Notifications Tip On · Desktop
Push Notifications Tip On · Desktop
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed

@BYK
BYK merged commit 6a81c2e into main Nov 12, 2026
46 checks passed
@BYK
BYK deleted the fix/slack-guest-message-cards branch November 12, 2026 23:52

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 11082f5d Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant