feat(tenancy): library of a tenant, read from the repository it declares #46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/45-tenant-library"
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?
Closes #45. Part of #38 (step 4, reading).
What changes
TENANT_DATA_PATH(defaultdata/tenants, on the data volume in the deployment), one directory per tenant and per repository. It is fetched on first use, then again once a minute old./t/<tenant>/library, for every member: themes declared by the tenant, then the other folders ofcontent/, their documents, a filter by theme, a search, the state of the repository and a Refresh button. When a fetch fails the page says so and keeps the documents fetched before; the message of the forge is for the administrators of the tenant.GETandPOST /t/<tenant>/api/tenant/library.TenantSettingsErrorused a parameter property, which the type stripping of Node refuses. The administration command now imports that file, so the migration container of a deployment would have failed to start. A test now loads the command the way the deployment does.Nothing is written to a repository yet: editing documents and ingesting files are the next steps of #38.
Verified
yarn test: 169 tests pass, with@quatrain/git1.0.1-beta.1 (pinned exactly: a range would resolve to 1.0.1, released beforeGitWorkingCopy).🤖 Generated with Claude Code
WIP: feat(tenancy): library of a tenant, read from the repository it declaresto feat(tenancy): library of a tenant, read from the repository it declares