You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
People and access: a Collaborator on a thread or project sees its preview tabs #796
A person who holds Collaborator on a thread or a project, but not on the server, opens one of that thread's preview tabs and sees the URL bar and the panel's menu, but no page.
The tab list, URL and controls come over the RPC socket, where the access gate allows the preview requests for a thread the person writes to. The page itself comes on its own socket, /api/preview-stream/ws. The gate keeps a narrowed session's permissions only on the HTTP routes accessHttpRule names (/ws, a thread's loads, the artifact read), so the stream's upgrade is refused. Downloads and uploads (/api/preview-stream/download, /upload) are refused the same way.
People and access AC14 and AC16 say a Collaborator uses previews, so this is a gap, not a deferral. Watching by a Viewer stays with #540 (AC21).
Fix: keep a narrowed session's permissions on the stream, its downloads and its uploads when the person holds Collaborator on the thread the request names. Decided by Jackson, 2026-10-29: check the tab's thread rather than allow any Collaborator.
Workaround until it ships: make the person a Collaborator at server scope.
Activity
fix(j5): a Collaborator on a thread sees its preview tabs (#797)