Preview who can read imported documents before sharing changes

Abierto
#1,192 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@zlareb1 ya está trabajando en esto.

Desde el 23/11/2026.

  • #1227 de @zlareb1 — abierto

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
263
Forks
47
Merge medio
14 h 21 min
PR fusionados (30 d)
873

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ClickHouse/loom

Todos los issues de ClickHouse/loom

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.