feat(shell): every operation inside a tenant, the instance as a System entry of the selector #50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/49-tenant-context-frame"
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?
Step 1 of #49. Part of #25 and #38.
A tenant is a workbench: every operation happens inside one, and the administration of the instance is the System context.
Changes
ContextSwitcher), always on show at the top of the side menu: the tenants of the account, even a single one, then System for the administrators of the instance. No "outside any tenant" entry any more; an account with nowhere to go sees it empty and disabled./): opens the context worked in last (cookiestudio-context, HTTP-only), while the user may still enter it; else the first tenant by name; else System for an administrator of the instance; else a page saying the account belongs to no tenant.CurationWorkbench): it read instance-wide resources under a header and a selector of its own, which was the main source of confusion. Its functions (drop zone, curation, extraction, activity, themes) come back inside the tenant with step 4 of #38; until then staging has none of them.guestrole (signed-in account without instance role) may read the home;curatorinherits it.locals.worksOutsideTenantsbecomeslocals.instanceAdmin.Verification
yarn test: 180 tests pass (selector entries, menu by context, home redirections, remembered context, guest role).yarn buildpasses;tscshows no new error (11 pre-existing, down from 18).yarn devfails (#9).Follow-ups
🤖 Generated with Claude Code