Choose private or team destinations during source setup

Open
#1,191 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@zlareb1 is already working on this.

Since Nov 23, 2026.

  • #1227 by @zlareb1 — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

A design-scale request that also has an open pull request (#1227) against it, so read that PR first to see what is already in progress. The constraint lives in the source request model at server/knowledge/api/models_sources.py (automatic personal destinations are refused), and the collection/grant contract is described in docs/reference/operations/collection.md. Build on the connected-source form from #1068 rather than rebuilding it, and expect the work to span API, SDKs and CLI before the two-user acceptance scenario can pass.

Written by the indexing model from the issue text.

Description

enhancement help wanted up-for-grabs
Component

Dashboard

Use case

A person wants to bring selected documents into Loom for their own use, and separately maintain a collection of documents shared with a team. Starting from their personal Library should make those two choices clear without requiring them to understand namespace naming or manually provision a destination first.

The automatic personal collection refuses source registrations. Ordinary collections already support grants and inheritance, so removing that restriction is not the required solution.

Describe the solution you'd like

Add a destination step that creates or selects an appropriate ordinary collection before registering a source. Build on the connected-source form in #1068 and the existing collection and grant operations.

Acceptance criteria:

  • Offer a private collection, an existing permitted collection or a new shared collection as destinations. Describe who can read each destination before creation or import. A private destination starts with no broader team grants.
  • From the personal Library, create a separate source-capable collection rather than attaching worker-owned source rows to the automatic personal namespace. Preserve source ownership, retirement and owner-erasure rules.
  • Let a user group several selected sources in one collection and organize collections with the existing hierarchy. A parent change must show inherited access; placing a collection under a shared parent must not continue to display it as private.
  • Reuse existing member roles, invitations or grants for a team destination. Do not invent a second sharing system or treat a display name, tag or folder title as authorization.
  • Explain that sharing a destination does not itself grant permission to mirrored documents. Sources whose explicit policy is collection-wide must say so before registration.
  • Keep target collection, account and selection in the review step. Changing any of them invalidates the access check. Cancellation or an unconfirmed save must not leave an unintended shared destination or silently register a source elsewhere.
  • Expose equivalent destination and membership operations through the API, supported SDKs and CLI. The dashboard must use those operations rather than special browser-only authority.
  • Demonstrate two users with separate private collections and one common collection. Test inherited grants, an unauthorized destination and changing the destination during setup without model calls.
Describe alternatives you've considered

Asking users to create a collection elsewhere and return to source setup is possible but hides the privacy decision. Putting every source into one team collection makes content organization and intended sharing difficult to assess. Allowing sources in the automatic personal collection would bypass an existing lifecycle constraint rather than solve the onboarding problem.

Where the need comes from

The need is mine, an AI tool helped shape the proposal

Additional context

Source-reviewed product workflow, not a reproduced access-control failure. #1068 already covers connected accounts, selected links, editing source items and interrupted saves; do not rebuild those controls here.

Existing collection creation and sharing already shipped in #77, #471 and #680. This request is the source-setup destination step, not another collection or membership implementation.

The source request model refuses automatic personal destinations. The collection contract supports ordinary collections and parent grant inheritance. #1181 separately covers choosing knowledge for the audience of an agent's reply.

Dominant language
Python
Stars
221
Forks
35
Avg merge
14h 21m
Merged PRs (30d)
873

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/loom

All issues in ClickHouse/loom

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.