Skip to content

Sharing: let a guest collaborator attach files and mention things #597

Closed as not planned

Description

@Jacksondr5

Set aside from the collaborate piece (#533), 2026-10-13. In the first version a guest with the Collaborate level sends text only: no attachments, no @-mentions and no other composer context.

Why attachments are refused, and what allowing them needs

Found by the builder while planning #533. Upstream lets a message name an attachment id that is already claimed by another message, and passes it through untouched (AttachmentClaims.ts). A guest who could attach by id could name an attachment from a thread it was never granted; the guest's own message in a granted thread would then carry it, and the rule that lets a guest load a granted thread's attachments (PersonAccess.messageAssetAccess) would sign a link for it. So a guest's message is rebuilt by the server from its text alone.

To allow attachments for a guest:

  • the upload route has to be opened to a guest, for a thread it holds Collaborate on;
  • every attachment id on a guest's message has to be checked as one that this guest uploaded for this thread, not merely one that exists;
  • the same for a queued message a guest edits.

Mentions and composer context

sourcePlanRef and composer context can name a second thread or a file inside a command. Each would need its own check before a guest may send it.

Listed in #542.

Activity

  1. Jacksondr5 commented on Oct 17, 2026

    @Jacksondr5
    OwnerAuthor

    Superseded. On 2026-10-17 Jackson ruled that there is one write level, Collaborator, and that a Collaborator's message may carry attachments like an Owner's. With that, there's no separate guest-attachment work left. The definitions are in #631 (docs/j5/product/features/people-and-access.md and shared-conversations.md), and the build follows from them.

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