Preview who can read imported documents before sharing changes
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- api, authorization, backend
調査の方向性
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 の本文から書いたものです。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ClickHouse/loom のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/loom#2014 ·
メンテナーはふだん 1 日以内に返信
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help text対応中かも @VanshajPoonia が今日担当しました。 オープンbug good first issue help wanted up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/loom#1988 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A compiler-tier checkout fetch from a shallow mirror never records its head対応中かも @KaloyanNaumov が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
ClickHouse/loom#2016 ·
メンテナーはふだん 1 日以内に返信
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limit対応中かも @KaloyanNaumov が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
ClickHouse/loom#2012 ·
メンテナーはふだん 1 日以内に返信
-
loom participant retire cannot retire an orphaned participant after container replacement or host reboot対応中かも @l0K1ngg が今日担当しました。 オープンbug help wanted up-for-grabs
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ClickHouse/loom#2007 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
ClickHouse/loom の issue をすべて見る
似ている issue
-
DMB documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ubuntu/ubuntu-project-docs#921 ·
メンテナーはふだん 1 日以内に返信
-
⏳ Pending feedback 🐛 Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jumpserver/jumpserver#18282 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
future-agi/future-agi#5274 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
GenericMappingTools/pygmt#5014 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信