Preview who can read imported documents before sharing changes
维护者通常 1 天内回复
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 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 分钟
- 30 天内合并 PR
- 873
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
TigreGotico/orthography2ipa#2950 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
Unstructured-IO/unstructured#4876 ·
维护者通常 6 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
openfoodfacts/openfoodfacts-python#579 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
fairagro/m4.2_sql_to_arc#388 ·
维护者通常 1 天内回复