chore: remove the instance-wide content, fix curator access to the tenant routes #68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/38-remove-instance-content"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #38 (step 4d). Telemetry deferred to #67.
⚠️ Fix: curators were refused on every route added since #61
src/rbac/roles.tsdid not list the new tenant routes. Administrators passed through their/**rule; curators were refused on the document and À revoir pages and on/api/tenant/documents…,/themes,/ingestion,/extraction. Entries added, with tests per route and method (PUTmaps toUPDATE). AGENTS.md now says every new tenant route needs its entry.Removed: the instance-wide content
/api/curate,/upload,/extract,/taxonomies,/telemetry,/queue/status,/git/status,/git/commit(and their RBAC entries).lib/git-sync,lib/queue,lib/backend,lib/models/ContentItem,lib/models/ThematicItem,lib/concept-autolink,lib/document-metadata,components/DocumentMetadataForm,components/ExtractionDialog, and the unusedcomposition.ts.soa/DEFAULT_SOA,GIT_*,STORAGE_TYPE,S3_*,DOCUMENT_STORAGE_PATH,axes,facets(and from the templates).Kept, changed
AI_PROVIDERthe instance lends none and starts without any AI key; once named,<PROVIDER>_MODEL,_API_KEY(and_BASE_URLexcept Gemini) are required.process.envand wrotesrc/config/admin_settings.jsonat runtime; that is gone./app/data/tenantsinstead of/app/data/okfand the queue directory.docs/MULTI-TENANCY.md(EN, FR).Checks:
yarn test260/260.yarn buildpasses.tsc --noEmit: 5 errors, down from 11 (left:astro:middlewaretypes and the example indocs/tickets).Not in this PR: dependencies now unused (
@quatrain/ingestion*,@quatrain/searchengine*,@quatrain/backend,@quatrain/storage-local…), to check and drop separately.🤖 Generated with Claude Code