Interface: every operation inside a tenant, the instance as a System entry of the selector #49

Closed
opened 2026-11-18 20:36:05 +00:00 by crapougnax · 0 comments
Owner

Part of #25 and #38.

Switching from one tenant to another is unclear. The home page (/) is a workbench that reads the resources of the instance, with its own header and a second tenant selector that only redirects: after choosing a tenant, the user still curates the content of nobody. The selector disappears for an account with a single tenant, and "Outside any tenant" is offered as if it were a place to work.

Model (chosen by the maintainer)

  • A tenant is a workbench. Every operation happens inside a tenant: configuration (its administrators), curation, querying. There is no workbench of the instance.
  • The selector at the top left always shows where the user is and lets them switch, even with a single tenant.
  • The administration of the instance is the "System" entry of the selector, offered to instance administrators only: tenants, accounts, settings. The context is always explicit.
  • The administrators of a tenant manage its members. An instance administrator can do it too from System, and is the only one offered the existing accounts as suggestions.

Steps (one pull request each)

  • 1. Frame: selector always visible with the active context and the System entry; the home sends to the last tenant used, else the first, else System, else a page saying the account belongs to no tenant; the workbench of the instance is removed from the frame. Its functions (drop zone, curation, extraction, activity, themes) come back inside the tenant with step 4 of #38.
  • 2. Members page in the configuration of a tenant: list, change roles, remove; invite by address, answering alike whether the instance knows it or not (only an address already in the tenant is refused, with a warning); the invitation becomes a membership when an account carrying that address comes; no account is created from a tenant. A tenant keeps at least one administrator. Done in #51.
Part of #25 and #38. Switching from one tenant to another is unclear. The home page (`/`) is a workbench that reads the resources of the instance, with its own header and a second tenant selector that only redirects: after choosing a tenant, the user still curates the content of nobody. The selector disappears for an account with a single tenant, and "Outside any tenant" is offered as if it were a place to work. ## Model (chosen by the maintainer) - **A tenant is a workbench.** Every operation happens inside a tenant: configuration (its administrators), curation, querying. There is no workbench of the instance. - **The selector at the top left always shows where the user is** and lets them switch, even with a single tenant. - **The administration of the instance is the "System" entry of the selector**, offered to instance administrators only: tenants, accounts, settings. The context is always explicit. - **The administrators of a tenant manage its members.** An instance administrator can do it too from System, and is the only one offered the existing accounts as suggestions. ## Steps (one pull request each) - [x] 1. Frame: selector always visible with the active context and the System entry; the home sends to the last tenant used, else the first, else System, else a page saying the account belongs to no tenant; the workbench of the instance is removed from the frame. Its functions (drop zone, curation, extraction, activity, themes) come back inside the tenant with step 4 of #38. - [x] 2. Members page in the configuration of a tenant: list, change roles, remove; invite by address, answering alike whether the instance knows it or not (only an address already in the tenant is refused, with a warning); the invitation becomes a membership when an account carrying that address comes; no account is created from a tenant. A tenant keeps at least one administrator. Done in #51.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
modaka/studio#49
No description provided.