Choose private or team destinations during source setup
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 8/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- backend-api-design
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 221
- Forks
- 35
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 873
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/loom
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ClickHouse/loom#2014 ·
Maintainers usually reply within 1 day
-
Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help textPossibly taken @VanshajPoonia claimed this today. Openbug good first issue help wanted up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/loom#1988 · 1 comment ·
Maintainers usually reply within 1 day
-
A compiler-tier checkout fetch from a shallow mirror never records its headPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/loom#2016 ·
Maintainers usually reply within 1 day
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
ClickHouse/loom#2012 ·
Maintainers usually reply within 1 day
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootPossibly taken @l0K1ngg claimed this today. Openbug help wanted up-for-grabs
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/loom#2007 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
DMB documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainers usually reply within 1 day
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day