Skip to content

People and access: a Collaborator on a thread or project sees its preview tabs #796

Closed

Description

@Jacksondr5

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

  1. added a commit that references this issue on Oct 29, 2026
    b306d59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions