Preview who can read imported documents before sharing changes

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

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

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

2026年11月23日 から。

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

評価

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

調査の方向性

Start with docs/architecture/document-sources.md — the access modes (~L398) and permission limits (~L817) sections — then the collection sharing header and member controls from #680 and the connected-account selection in #1068. Define the machine-readable preview result first (owner-only, collection-wide, source-permission-checked, unavailable, plus freshness), since API, SDK, CLI and dashboard all share it. Done means synthetic cases for private/team collections, owner-only imports, unsupported ACL evidence and revoked access pass without leaking denied metadata; note PR #1227 is already open here.

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

説明

enhancement help wanted up-for-grabs
Component

Dashboard

Use case

A source owner can read a document in its original service and wants to import it into Loom. They need to know whether a colleague will be able to retrieve the stored copy before adding it to a shared collection or changing that collection's membership.

A connected account, a successful access check and a collection's name do not answer that question. Collection-wide copies and permission-mirrored sources have different sharing behavior, and provider permission support differs.

Describe the solution you'd like

Add a readable access preview backed by a machine-readable server result. Show the rules that determine access to the imported copy before import, source policy changes and collection sharing or parent changes.

Acceptance criteria:

  • Distinguish owner-only, collection-wide, source-permission-checked and unavailable access. Explain whether content is fetched live or copied, and whether future matching items will be included.
  • Show the effect of destination membership and inherited grants. A collection-wide source must explicitly say that its permitted collection readers can read the copy; do not label it as preserving upstream permissions.
  • For mirrored sources, explain that both collection access and a current admitted document permission are required. Show supported permission features and limits, including owner-only behavior or unavailable group expansion, without promising that every provider mirrors the same sharing model.
  • Report unknown or stale permission evidence as such. Distinguish a disconnected account, disabled sync, unsupported permission capability and an access refusal using only information that caller is entitled to see.
  • Preview only selected documents and identities the caller may inspect. Do not expose another person's document titles, identifiers, membership, counts or existence through an access explanation. Where a complete reader list cannot be established, show the rule and limitation rather than inventing one.
  • Revalidate the preview when the account, selected items, destination, membership or parent changes. The preview is explanatory and grants no authority; the mutation and every later read retain server authorization and publication checks.
  • Use the same response through API, supported SDKs, CLI and UI. Show the access policy and an appropriate freshness state on an existing source as well as during setup.
  • Include synthetic cases for private and team collections, a parent that broadens grants, owner-only imported content, unsupported ACL evidence and revoked access. Assert that the explanation neither leaks denied metadata nor promises access the read operation refuses.
Describe alternatives you've considered

A provider logo or Connected badge describes authentication, not the audience of an imported copy. Generic warnings do not tell a user what their selected account, documents and destination will do. A global list of all effective readers can itself reveal private membership and is not always available.

Where the need comes from

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

Additional context

Feature proposal based on the existing source sharing contract, not a claim of a reproduced disclosure. The access modes and permission limits already differ by source and credential mode.

Related destination setup: https://github.com/ClickHouse/loom/issues/1191.

Reuse the existing collection sharing header and member controls from #680. Their collection-level audience does not establish the reader set of each mirrored source document.

Build on #1068 rather than duplicating its connected-account selection or link checks. #1181 addresses an agent reply's intended audience; this issue addresses the audience of source content stored or read through Loom. #869 remains the administrator's control over self-service source registration.

主要言語
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 を短くまとめたダイジェスト。