Choose private or team destinations during source setup

オープン
#1,191 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@zlareb1 がすでに取り組んでいます。

2026年11月23日 から。

  • #1227 @zlareb1 による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
263
フォーク
47
平均マージ
14時間 21分
マージ済み PR(30日)
873

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ClickHouse/loom のほかの issue

ClickHouse/loom の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。