Repository navigation
Description
In a private Slack channel or group DM, other members of the channel cannot view a Conversation in the dashboard unless they started it or sent a message in it, even though they can read the same thread in Slack. The access rules are also spread across many readers and are not written down in one place.
Reported by David Cramer.
Current behavior
readConversationAccessFromSql(packages/junior/src/api/conversations/access.ts) returns two flags. All readers use them:isParticipant: the viewer is the root actor (matched by user id or verified email), or has ajunior_conversation_participantsrow on the root.canViewPrivateContent:isParticipant, or the root Destination visibility ispublic.
recordConversationParticipant(packages/junior/src/chat/conversations/sql/participants.ts) adds participant rows only for the root actor (sql/store.ts) and for message authors (sql/history.ts). Pin and archive also write rows. Slack channel membership is never checked.- So for a
privateConversation, a channel member who did not post sees only redacted metadata: no transcript, Brief, annotations, attachments, child agents, watches, or Slack link.
Current access branches
Read (canViewPrivateContent): detail.ts, event-list.ts, list.ts, attachments.ts, child-agents.ts, agent-tree.ts, watches.ts, pending-messages.ts, fork.ts (source), locations/query.ts, people/profile.query.ts, chat/plugins/conversation-event-reader.ts, chat/slack/annotation-details.ts.
Act (isParticipant): create.ts (send), steer-pending-messages.ts, cancel-pending-messages.ts, stop.ts, pin.ts, archive.ts, fork.ts (target), api/acp/conversations.ts, api/mcp/tool-context.ts, chat/agent-invocations/top-level-message.ts, chat/review-items/plugin.ts.
| Viewer | Public | Private |
|---|---|---|
| Root actor or participant | read + act | read + act |
| Other signed-in viewer | read | redacted metadata only |
| No viewer | read | redacted metadata only |
Child Conversations use the access of their root. Missing or invalid root metadata, and unknown visibility, are treated as private.
Related
- Docs are out of date:
packages/docs/src/content/docs/operate/dashboard.mdsays only the root actor's verified email can read a private transcript. Materialized participants can read it too. - Store visibility on each Conversation #2380 moves visibility onto each Conversation. It does not change who can read private Conversations.
Proposal from discussion (not verified)
Add one more read branch: a viewer whose linked Slack identity in the same workspace is a current member of the private channel or group DM can read, but cannot act. Check membership live, for example with users.conversations for private channels and group DMs, using a short cache. If the check fails, deny access. Only participants can act. 1:1 DMs stay participant-only. Then document the full matrix in one place (access.ts and the data-and-privacy docs).
via @dcramer.
--
Activity
feat(conversations): Store visibility on every Conversation (#4335)
fix(conversations): Deny Slack membership when the workspace has no i…
feat(conversations): Invite and Leave for private Conversations (#4354)
sentry-junior commentedon Nov 25, 2026
Remaining gap: a member of a private Slack channel who never posted there still can't read its Conversations in the dashboard. Only Participants can. A person who leaves the channel also keeps their Participant row.
Likely fix: Slack's
member_joined_channelandmember_left_channelevents (plus the bot'schannel_leftandgroup_left) add or remove Participant rows, and a resync function repairs drift by pagingconversations.members. Access then reads only the rows, with no Slack call. #4373 tried live Slack checks instead and was closed.