feat(tenancy): settings a tenant declares for its curation #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/39-tenant-settings"
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 #39 — step 2 of #38 (settings part; the sealed secrets wait for quatrain/core#64).
src/instance/tenant-settings.ts:readTenantSettings: repository (address, branch), storage (endpoint, region, bucket), language model (none,own,instance), source of authority, axes, facets. A tenant without settings has none of them.changeTenantSettings: replaces the settings a change names; only an instance administrator may grant the model of the instance.assertRemoteUrl: HTTPS only, no credential, no local or private host. The check reads the host name and does not resolve it: a public name resolving to a private address is not caught here.TENANT_SECRET_NAMES: names of the secrets a tenant may hold.Nothing uses these settings yet: no behaviour change.
Tests: 127 passing (33 new).
🤖 Generated with Claude Code