Table of Contents

Tenant scope in the Explorer

This page is part of the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at tenant-scope.md, and llms.txt lists every page.

The Explorer's tenant view is part of Core. The web head (AddLatticeExplorerWeb) always registers it, through AddExplorerTenantView(), after the UI, so the Tenancy area's reachable-tenant list and operator gate take effect. The view publishes the caller's active tenant, the reachable tenant list and an operator-gated switcher. A head that does not register it has an inactive view: addresses are plain, /t/{tenant} roots are removed during canonicalisation, and catalogue reads are the same as a non-tenant cluster.

On a cluster without the tenancy add-on, every tree belongs to the reserved default tenant, so the active tenant is default. What that means for addresses is described under The reserved default tenant.

With tenancy on, the address grammar gains a root node: /t/{tenant}. A tenant-rooted address scopes Home and every tenant-scoped area to that tenant. Typing t/{tenant} in the address line offers reachable tenants and re-roots the current address. Choosing a different tenant is still a request, not an authority: the switch goes through the operator-gated switcher and is refused unless the caller is a platform operator.

What is scoped

Tenant ownership is derived from physical tree ids. A tree named t/{tenant}/{name} belongs to that tenant. A tree with no t/ ownership prefix belongs to the reserved default tenant. Platform-internal trees are not attributed to any tenant.

The visible address determines whether the tenant root is kept:

  • Tenant-scoped areas keep /t/{tenant} when tenancy is active. The native areas that do not opt out are Data, Apps, Schema, Replication, Backups and Telemetry.
  • Access and Cluster have both shapes. /access... and /cluster... are cluster-wide and stay plain. /t/{tenant}/access... and /t/{tenant}/cluster... keep their tenant root and show only that tenant's items: at /t/{tenant}/access the rules that govern the tenant's own trees, and at /t/{tenant}/cluster the tenant's own trees and the storage they use.
  • Tenancy has both shapes: /tenancy and /tenancy/{tenant}... are cluster-wide administration addresses, while /t/{tenant}/tenancy... is that tenant's workspace.
  • Home is tenant-rooted when tenancy is active, unless the current caller is on the hidden default path described below.

At a tenant-rooted address every area lists only that tenant's items, and so do the counts, Home status lines, spine badges, address completions and pickers drawn from those listings:

  • Rules. The listing is the rules whose governed tree is one of the tenant's own trees. Cluster-wide rules (Tree:*) belong to no tenant, so they are not listed; one quiet line counts those that also apply and links to /access/rules. The same holds for an explanation's effective permissions.
  • Groups. Cluster groups belong to the whole cluster, not to a tenant, so /t/{tenant}/access/groups lists none and links to the cluster's groups. With delegated tenant access administration on, a tenant's administrators see the tenant's own groups there instead, and its member set, rules and a layer-aware Explain beside them. Otherwise no group completes or is found at a tenant-rooted address.
  • Trees and storage. /t/{tenant}/cluster counts and measures only the tenant's own trees. Regions, WAL placement and orphaned leaves belong to the whole cluster, so the overview replaces them with one quiet line that links to the cluster-wide overview.
  • Not found. A tenant-rooted deep link to another tenant's rule, tree, backup or schema tree is not found, and is never read. Under a tenant other than default, a bare tree name is that tenant's own tree, as the cluster reads it.
  • The default tenant. default owns the bare trees, and the cluster answers it with every tenant's trees, rules and backups. The Explorer narrows every listing to default's own, so it never shows another tenant's items.

The rule and backup listings are narrowed by the cluster itself, on the tenant the call asserts (see Every call carries the tenant), and every row is checked again in the console, so a cluster that predates the narrowing still shows nothing of another tenant's.

Core applies the same rule to listings. The active-tenant view keeps only items owned by the active tenant. The all-tenant view returns the list unchanged only when the caller requested all tenants and the platform-operator gate validates them. A non-operator all-tenant request falls back to the active tenant.

Telemetry also has an address-level all-tenant view. Its scope=all query asks telemetry queries to request all tenants; the UI exposes the scope chooser only while tenancy is active and the caller is an operator, or while the current address already asks for all tenants. The cluster decides whether to admit it, and when it answers for one tenant alone the board says so: "You asked for every tenant; the cluster answered for tenant {id} only.", or "...answered for your own tenant only." when the answer names no tenant.

Switching tenants

A tenant-rooted address for a tenant other than the active one asks the shell to switch. If the switch is accepted, the address becomes canonical for the requested tenant and the shell announces the new scope to screen readers, without drawing a toast, because the address and header already show it; the first address a circuit opens announces nothing. If it is refused, the shell redirects to the same address under the active tenant and shows a warning toast such as You can't scope to tenant acme, so this shows tenant default instead. If no active tenant is established, the redirect is to the unrooted canonical form and the warning names only the refused tenant.

There are three ways to ask for a switch, and all three go through the same operator-gated switch: open an address with another tenant's root, type t/ in the address line and choose a tenant, or use the tenant switcher in the top bar.

The tenant switcher is a button naming the active tenant, which opens a type-ahead field of the tenants you can reach (up to 20 listed at once). The palette command tenant.switch ("Switch tenant") opens it too, and at the compact width it sits at the top of the Directory sheet. It is shown only to a signed-in caller whose tenancy is on, whom the operator-gated switcher proves may switch, and who can reach at least two tenants; otherwise it is absent, not disabled, and any fault reads as not offered. Its list is the Tenancy area's reachable-tenant list, so for a platform operator it includes the reserved default tenant. Choosing a tenant at a tenant-scoped address re-roots the address; at a cluster-wide address, such as an Access page, the tenant is switched in place and announced. See The tenant switcher.

A successful switch is remembered through the preference contract as shell.tenant. The console neither writes nor restores shell.all-tenants: Core writes it only from an admitted operator request through IExplorerTenantSwitcher.SetVisibilityAsync or from IExplorerShellPreferences.RememberRouteAsync, and the console calls neither. Persistence is a convenience, not the authority; the current circuit's tenant context is updated first and every read is revalidated. The remembered tenant lives in the browser's preference store, so a server prerender cannot restore it: at an address that names no tenant, a caller who can reach more than one tenant sees a neutral Resolving your tenant state until the page is interactive, and the redirect to /t/{tenant} follows then. See Before the page is interactive.

Every call carries the tenant

Every call the Explorer makes to the cluster asserts the active tenant through the lattice-active-tenant header. That covers catalogue and data reads, live tails, every administration area, and an app's bridge calls. The header is read as each call starts, so the first call after a switch already carries the new tenant, and one circuit's tenant never reaches another circuit's calls. With tenancy off, with no tenant established, or scoped to the reserved default tenant, no header is sent, and the call is exactly what a tenant-unaware client sends.

The header is an assertion, not a grant. The cluster checks it against the caller's own tenants before it scopes anything, so asserting a tenant gives no standing in it. An install at /t/{tenant}/apps lands in that tenant, and a tenant admin's Data and Apps pages list that tenant's trees and apps.

The Explorer fails closed around it:

  • If a signed-in caller's tenant cannot be established, no tenant-scoped page is shown, so no call falls back to the default tenant.
  • While a switch is in flight the page is withheld. After it, every page is built afresh and every remembered answer is read again, so nothing read under one tenant is shown under another.
  • The same holds for a change of caller, not only of tenant. Every answer the Explorer remembers within a circuit is filed under the caller who read it: the sign-in, the endpoint and the asserted tenant. A sign-in, a sign-out or a connection change drops it, and the page is rebuilt, so an answer read for one identity is never served to the next, even when two identities share a name.
  • A new identity never inherits the previous identity's tenant. When a different user signs in to the same circuit, the tenant held for the previous user is cleared before the new user's own tenant is established, so not even the calls that establish it assert the previous user's tenant.
  • An open app is bound to the tenant it was opened in, and is closed once the Explorer is scoped to another tenant.
  • A staged backup operation finishes in the tenant it started in, and is listed only under that tenant.
  • A backup or restore operation tracked by the cluster is listed and read only under the tenant it started in; under another tenant its id is not found.

The reserved default tenant

default is the reserved tenant that owns legacy, un-prefixed trees. The shipped chrome hides tenancy for a non-operator whose active tenant is default: there is no tenant root, t/ offers no tenant, and /t/default/... canonicalises to the plain address. The Explorer treats a caller as a platform operator exactly when the Access area's cluster-wide probe admits them, that is, when they administer access for the whole cluster. The Access area itself is visible to more callers, because a delegated tenant administrator sees it too, but that never makes them an operator. The layout refreshes the operator verdict before it resolves each navigation. Until that verdict proves the caller is an operator for default, the safe answer is to hide tenancy chrome.

An operator on default does see tenancy chrome, because the default root is the way they reach tenant-aware addresses and switch to other tenants. The cluster lists only the tenants a caller administers, which never includes default, so the Explorer adds default to a proven platform operator's reachable tenants. An operator can therefore always pick it and open /t/default/..., and an operator with no remembered tenant starts there.

The reserved default tenant has no registry record, so it has no workspace root: /t/default/tenancy canonicalises to the tenant directory, /tenancy, which is what an operator scoped there administers. The rule depends only on the address, so it holds while an operator verdict is still settling.

The Tenancy area

The Tenancy area exists only when tenancy is active and the tenant self-service facade is available. It probes the caller's standing before it appears. A platform operator sees it. A tenant admin for their own scoped tenant also sees it. An unauthenticated caller gets an unavailable area with Sign in to see the tenants you administer. Other refusals and definite faults hide the area fail-closed; a probe the cluster did not answer leaves it not checked (see Area availability).

The area's addresses and commands:

  • /tenancy is the operator directory. It lists every tenant the caller can reach, shows lifecycle state, quota use, residency, installed-app counts, and links to the tenant workspace or Apps area. The tenancy.create-tenant command (Create a tenant) opens this page with ?new=true, the same form as the visible New tenant button. The tenancy.set-regions command (Set a tenant's regions) opens it with ?set-regions=true, the same picker as the visible Set regions... button; see Regions and residency.
  • /tenancy/{tenant} is the operator administration overview for one tenant. An operator and a tenant admin see the same tabs, with the same names: Overview, Members, Quota, Regions and Sharing. The operator's are /tenancy/{tenant}, /tenancy/{tenant}/members, /tenancy/{tenant}/quota, /tenancy/{tenant}/regions and /tenancy/{tenant}/sharing; the earlier /tenancy/{tenant}/grants and /tenancy/{tenant}/access still answer, as the Sharing and Members pages. The operator's Quota tab shows the tenant's use against each limit and sets the limits, except for the reserved default tenant, whose limits are not set there; the overview links to it. Non-operators who reach an administration address are redirected to the equivalent /t/{tenant}/tenancy workspace section.
  • /t/{tenant}/tenancy is My tenant (for the reserved default tenant, this root is the directory; see The reserved default tenant). Its sections are /t/{tenant}/tenancy/members, /t/{tenant}/tenancy/quota, /t/{tenant}/tenancy/regions, and /t/{tenant}/tenancy/sharing. It shows the tenant's state, the caller's standing, quota, residency, installed apps, and reachable sibling tenants. Its Quota tab is read-only, even for an operator, who sets limits from the administration Quota tab.
  • tenancy.change-residency (Change residency) opens /t/{tenant}/tenancy/regions for whoever administers the scoped tenant; the Regions tab of My tenant is its visible control. It is not offered on the reserved default tenant.
  • tenancy.offer-grant opens /t/{tenant}/tenancy/sharing?new=true. The visible Offer a grant button uses the same command id. The reserved default tenant does not offer or receive cross-tenant grants.

The area's forms use pickers, and each one is tenant-scoped like every other:

  • New tenant. The tenant id is a plain name box, not a picker: it no longer suggests existing tenants, and refuses one that already exists as you type. The optional admin subjects are a multi-value picker over the identity directory. The optional allowed regions and initial residency are described in Regions and residency.
  • Members. The subject id is a picker over the identity directory's users and groups.
  • Regions. The allowed region ids are a multi-value picker over the regions this cluster knows, plus any region the tenant already lists, since a region can be allowed before this cluster replicates with it. When the cluster's regions cannot be listed, the field accepts what is typed. A new tenant's initial residency suggests only the regions chosen as allowed.
  • Grants. The grantee tenant is a picker. For a platform operator, who can list every tenant, it accepts only a listed tenant; for anyone else it suggests the tenants they can reach and accepts any id. The scope suggests the tenant's trees and accepts a tree-name prefix too. A bare name or prefix is qualified into the granting tenant's namespace before the offer is sent, so orders is offered as t/{tenant}/orders: the cluster matches a grant's scope against the full tree id it reads, so a bare name would share nothing. Approving, rejecting or revoking a grant refreshes the Data listing in the same session.

The Tenancy area supplies the reachable-tenant list used by the directory, by the t/ completions in the address line, and by the tenant switcher. It is exactly the tenants the cluster names for the caller, plus default for a proven platform operator, and never a tenant the cluster did not name. The established tenant is listed first and suspended tenants are not offered, except that the established tenant remains available so the current scope never disappears under the caller.

Tenant access

When the cluster has delegated tenant access administration on, a tenant's own administrators manage who belongs to the tenant and who may do what on its trees from the tenant-rooted Access area, /t/{tenant}/access. The pages talk to the tenant directory and tenant policy facades (ILatticeTenantDirectoryAdmin, ILatticeTenantPolicyAdmin) through the circuit's connection. The web head carries both over the cluster's tenant-administration gRPC service: every call carries the circuit's sign-in and asserts its active tenant, and the binding's statuses are turned back into the facades' refusals: the feature being off, the reserved tenant and the last admin entry as their typed exceptions, and a reached cap as LatticeQuotaExceededException with its dimension, usage and limit. A confinement refusal arrives as an ArgumentException carrying the facade's message, because the violated rule is not on the wire. A page therefore reads a failure much as it would against an in-process facade. The Explorer sample seeds a tenant with delegated access to walk through.

Who sees the pages

Each tenant page first reads the tenant's access posture (GetPostureAsync) and decides from it:

  • Delegated - the feature is on and the caller is an admin of the tenant, directly or through a group, or a platform operator. The tenant pages are shown. A caller who is a tenant admin but not an operator therefore sees the Access area for its active tenant even though the cluster Access pages stay closed to it.
  • Off - the feature is off. Each page says so, for example "Delegated tenant access administration is off, so groups belong to the whole cluster, not to one tenant, and tenant {id}'s Access pages do not list them."
  • Not permitted - the feature is on and the caller administers neither the tenant nor the cluster. The page says the tenant's groups, member set or rules are administered by its administrators.
  • Unavailable - no posture could be read: the connection does not serve the facades, the tenant is the reserved default tenant, or the cluster did not answer. The page keeps its earlier behaviour.

The Access navigation adds Groups, Members, Rules and Explain for a delegated tenant. /t/{tenant}/access/members is the one Access address with no cluster-wide form. The reserved default tenant never has these pages.

Picking a subject

Wherever a tenant page asks for a user or group, the subject picker first asks what kind it is: Tenant group (one of this tenant's groups, picked from the tenant's list by its local name), Cluster group or Cluster user (both searched in the identity directory). The cluster kinds never offer an id starting with t/, and typing one is refused, so another tenant's group can never be picked. Beside the choice, a provenance line names its source and full id, such as t/acme/ops.

Groups

/t/{tenant}/access/groups lists the tenant's groups with their display name and how many direct members, rules and app roles name each. New group checks the name against the tenant group grammar as you type and refuses a name already in use. When the tenant is at its MaxGroups cap, creating is disabled and the page says why.

A group's page edits its display name and lists its direct members with their kind (User, This tenant's group, or Cluster group). Members are added with the subject picker and removed after a confirmation. A refused nesting - this group inside a cluster group or another tenant's group - is explained beside the picker, and adding is disabled at the MaxMembershipEdges cap. A tenant administrator who signed in with a user name and password, and is not yet a direct member, is offered Add me to this group. A Used by table lists the rules and app roles that name the group, and the group's history comes from the existing per-key history of the membership tree.

Deleting a group first shows what goes with it - its member entries, the tenant rules and app bindings that name it, and its member-set or admin-set entry - and refuses to remove the tenant's last admin entry.

Members

/t/{tenant}/access/members lists the tenant's member set with each entry's kind. Entries are added with the subject picker and removed after a confirmation, up to the MaxMemberSubjects cap. The page reminds the administrator that "a member no rule allows can do nothing (default-deny)", and lists the tenant's administrators read-only, since they are members already.

Rules

/t/{tenant}/access/rules shows two groups of rules:

  • Platform - the operator rules on the tenant's own trees, marked with a lock as "Read-only, decided first; your rules apply only where none of these match."
  • Tenant - the tenant's own rules, each linking to its page.

Both can be filtered by tree and by subject, and a line reports the tenant's rule count against its MaxTenantRules cap. The rule editor offers the scopes Whole tree, Key prefix in a tree, Single key in a tree and Every tree in this tenant, the tree from the tenant's own trees (never its app trees), the data-plane operations only, and the subject picker; it suggests a rule id. While you edit, it warns when a platform rule would decide the same requests first, so the rule would not take effect. A rule's page edits or deletes it, links to Explain with its subject and tree filled in, and shows its history from the policy tree.

Explain

/t/{tenant}/access/explain first resolves the subject. A subject that is neither an admin nor a member reads "Cannot act as tenant {id}", with a link to Members. For a subject that can act, the answer is drawn as the two layers in order: the Platform layer, read-only and final when it matches; then the Tenant layer the administrator controls; then the default effect. The deciding layer and rule are marked, the layers that did not decide are dimmed, and when a platform rule decided while tenant rules also matched, the page says "These rules match but do not take effect: platform rule {id} decided first." A deciding cluster-wide or app role rule is shown by id and effect only.

Admin set, quota caps and app bindings

  • Admin set. On a delegated tenant, the Tenancy area's Members tab accepts the tenant's own groups and cluster groups as admin subjects through the same picker, and shows each entry's kind; an entry naming another tenant's group is marked as not counted. A refused removal of the last entry says a group counts as one admin subject. On a tenant that is not delegated, the editor offers users only.
  • Quota caps. The operator's Quota tab shows and edits the four access caps - Tenant groups, Group membership edges, Tenant members and Tenant access rules. A blank cap is the default, shown as for example "500 (default)", never unbounded.
  • App role bindings. On a delegated tenant, the Apps role-binding picker offers the installing tenant's own groups beside cluster groups, never another tenant's. A stored binding to another tenant's group is explained and blocks continuing, and a role's "Add me" link leads to the tenant group's page when the role is bound to one.

Tenant rules on the cluster pages

The cluster Access pages mark a tenant-tier rule with a badge naming its tenant, and an explanation on /access/explain says under "Decided by" whether a platform rule, a tenant rule or the default decided it.

Regions and residency

A tenant's Regions page, /tenancy/{tenant}/regions for an operator or /t/{tenant}/tenancy/regions in My tenant, has two labelled parts:

  • Allowed regions (set by a platform operator). The regions the tenant may use at all. Only a platform operator can change the set: saving replaces the whole set, revoking a region is confirmed, and a region the tenant is resident in cannot be revoked. Anyone else sees the set read-only, with a note saying only a platform operator can change it.
  • Residency (where the tenant's data is kept). The regions the tenant's admins keep its data in, chosen from the allowed set. Resident in reads the current residency; Not set: served in every region when none is set; or None: served in no region when residency was set and every region has since left it. With no residency set, the tenant is served in every region, and the page says so in a note: "No residency set: tenant {tenant} is served in every region." Once any residency is set, the tenant is served only in regions that are Online. Apply residency applies the plan; Reset discards it. A tenant resident in a region keeps at least one, so its last planned region cannot be unchecked; a tenant resident nowhere (no residency set, or every region gone) can uncheck every region it planned, as the cluster accepts an empty residency for it.

Each allowed region is a row of a table with the columns Region, Lifecycle, Served here, Allowed and Residency. Lifecycle is the region's residency status with a sentence saying what it means for the tenant, Served here says in words whether the region serves the tenant now (Served or Not served), and Residency is the region's residency checkbox. At the compact width each row reads its region, whether it is served and allowed, the step a region part-way along its path has reached (for example "removing, step 1 of 3"), and any planned change; the row's sheet carries the step bar.

A region is added along the path Provisioning, Backfilling, Online, and removed along the path Draining, Offline, Removed. The two paths are taken differently:

  • Removing is automatic. Applying a residency that drops a region starts it Draining. The region stops serving the tenant at once, and the drain completion listener on that region's own silos steps it to Offline and then Removed as soon as they see the change; nothing is left to wait for. A region that stays Draining means its silos are not running, or have not yet seen the change.
  • Adding is automatic. A region added to residency starts Provisioning; its local lifecycle driver starts Backfilling and copies configured replicated tenant trees from an Online peer. It reaches Online only after bootstrap and parked tenant-offline entries are verified. No separate operator approval is required. The platform-operator override is reserved for data independently placed in the target region (issues #3913 and #4090).
Lifecycle Meaning
Provisioning Added; the local driver starts backfill automatically. The tenant is not served there until the replica is verified Online.
Backfilling Configured replicated tenant trees are being copied and verified. Client requests remain refused until every tree bootstrap and parked tenant-offline entry is complete.
Online The region serves the tenant.
Draining The region no longer serves the tenant. Its own silos complete the drain as soon as they see the change; a region that stays Draining has silos that are not running or have not seen it yet.
Offline Drained; the region no longer serves the tenant. Its own silos mark it Removed next.
Removed The region has left the tenant's residency and does not serve it.
Not in residency The tenant has residency, and this allowed region is outside it, so it does not serve the tenant.
No residency set The tenant has no residency, so this region serves it, as every region does.

Step progress. A region in Provisioning, Backfilling, Draining or Offline shows its step on a short three-segment bar, its current stage and what happens next. Adding advances automatically through local replication; removing advances on the region's own silos. The residency panel reports backfill phase, stall reason and per-tree applied-entry counts. The Replication area adds each tenant tree's source, bootstrap phase, applied entries, parked entries and read-fence status. These are operational counters, not a percentage estimate. A steady region (Online, Removed, or with no status) shows no lifecycle step bar.

Following a change. While any region is part-way along a path, the page reads the tenant's regions again on its own, so an automatic backfill is followed through to Online and a drain through to Removed without pressing Refresh; a quiet line says "Updating on its own while a region is part-way through a change." The first read comes 2 seconds after the page loads or a change is applied; each read that finds nothing new doubles the wait, up to 30 seconds, and a read that finds a change returns it to 2 seconds. Each stage change is announced politely to assistive technology, for example "Region us-east of tenant acme is now Online.", and an edit to the residency in progress is kept. The page stops reading once every region is steady, when it is left, or when the caller signs out or in as someone else.

Previewing a change. Once the plan differs from the tenant's residency, a section titled If you apply this residency says region by region what applying it does: a region that joins the residency as Provisioning (and, for a tenant with no residency before, stops being served there until it is promoted), one that starts draining and stops being served, one that stays in the residency and is or is not still served, and one that stops being served because it is outside the new residency.

A change that removes a region is confirmed; the dialog says the region's own silos then step it to Offline and Removed on their own, and applies with Drain and apply.

A change that would stop serving a tenant that is served now - one with no residency, or with an Online region - and leave it with residency and no Online region is not applied from Apply residency, which is turned off. The preview says the tenant would be served nowhere, names the planned regions that would not be Online (an added one starts Provisioning), and explains that automatic backfill starts when residency is applied. It suggests keeping a region that is already Online or waiting for the new region's backfill to complete; when no region is Online yet, it says the tenant remains unserved until an added region is verified Online, and that leaving residency unset keeps it served in every region. It links to the tenant lifecycle documentation. The only way through is a quiet Apply anyway and stop serving {tenant}... button. Its confirmation, titled Stop serving tenant {tenant}?, restates the consequence, and its primary button is Keep serving {tenant}; the destructive Stop serving {tenant} applies it.

A tenant that is already served nowhere loses nothing by a change, so for it Apply residency stays the primary action: the preview says it is served nowhere now, that the change stops nothing, and that it stays unserved until an added region's automatic backfill is verified.

The Regions page offers platform operators an Override backfill action while a region is Backfilling. It requires an explicit acknowledgement that the target data was independently placed and verified; it does not run or verify a copy. The normal add path needs no operator promotion. While a tenant has residency and no Online region, its Regions page, its overview and My tenant each carry a warning that it is not served anywhere, with the reason: none of its regions is Online yet, or every region has left its residency.

A residency whose regions have all left it. The tenancy engine counts a tenant as having residency once any region has a lifecycle status, Offline and Removed included, and then serves it only where it is exactly Online. A tenant whose only statuses are Offline or Removed is therefore served in no region, never in every region, and the Explorer says the same everywhere: its Resident in reads None: served in no region on the Regions page, its overview, My tenant and in the directory; every region reads Not served; the Regions page carries the served-nowhere warning; and Home does not count it among the tenants with no residency set.

Creating a tenant with regions. The directory's New tenant form can also set the new tenant's Allowed regions and its Initial residency, both optional. The residency is chosen from the allowed regions: it is disabled until one is chosen, and a region removed from the allowed set leaves the residency too. A residency chosen here is applied as part of creation, with no second confirmation: each of its regions starts Provisioning, so the tenant is served nowhere until automatic backfill is verified in one of them, and the residency outcome adds "It is not served anywhere until one of its regions is Online." The tenant is created, then its allowed regions are set, then its residency, and each step reports its own outcome, so a tenant can be created even when a region step fails. The form then opens the new tenant's Regions page, or its overview when no region was chosen.

Finding a tenant's regions. The directory's Resident in column links each tenant to its Regions page, and so do the Resident in and Allowed lines of a tenant's overview and of My tenant. The directory's Set regions... button, and the Set a tenant's regions palette command, pick a tenant and open its Regions page. Change residency opens the scoped tenant's own Regions tab.

Home. The Tenancy line on Home counts tenants with no residency set, which are served in every region. For an operator it reads, for example, "12 tenants, 1 suspended, 3 with no residency set (served in every region)."; it reads the residency of at most 50 tenants, and with more than that the count is a lower bound, shown as "at least 3". The reserved default tenant has no residency and is not counted, and a tenant whose status cannot be read is skipped. A tenant admin's line adds "It has no residency set, so it is served in every region." when their tenant has none.

Trees shared through a grant

A tenant can share a tree, or a tree-name prefix, with another tenant through a cross-tenant grant: the granting tenant offers it from Sharing, and the receiving tenant approves it there. Once approved, the shared trees appear in the receiving tenant's Data area alongside its own.

  • Only approved grants. Only a received grant in the Active state (one the tenant approved) shares anything. An offer not yet approved, a rejected offer and a revoked grant are left out, exactly as the cluster's tenant gate ignores them.
  • Listed with their owner and access. Each shared row has the Shared by tenant and what the grant allows ("Read only", "Write only" or "Read and write"), and the Shared with this tenant filter shows them alone. A shared tree's page carries the same two pills.
  • Addressed under your own root. A shared tree keeps its full id and is opened under the receiving tenant's root, so acme's orders shared with globex is /t/globex/data/t/acme/orders. It is read by exactly that id, and the cluster's tenant gate admits the crossing on the grant.
  • A prefix is one row. A prefix grant is listed as a single Shared prefix row that does not open: the Explorer can list only the receiving tenant's own trees, so it cannot enumerate another tenant's trees under the prefix. Open a tree under it by its full id in the address line, and the directory resolves it against the grant.
  • No administration. A grant carries read or write access, never administration, so a shared tree's workspace offers no reconcile or rebuild, whatever the grant allows.
  • When grants cannot be listed. If the cluster serves no grant facade, or you may not list the tenant's grants, the directory shows only the tenant's own trees with a note saying shared trees are not listed. A grant whose scope lies outside its granting tenant's own trees shares nothing, so it is not listed and a note counts it. A shared id that matches one of the tenant's own trees is dropped, and the tenant's own tree wins.
  • Not for the default tenant. Grants are tenant to tenant, so with tenancy off, or scoped to the reserved default tenant, nothing is shared, and the Data directory leaves out the Shared by column and the Shared with this tenant filter.

A grant never bypasses the authorization policy. The tenant gate is composed on top of the cluster's access policy: a grant only opens the boundary between the two tenants, and the policy still decides who may read. The receiving tenant's user also needs an authorization rule that allows the read (for example Read and RangeRead on t/acme/orders), or the shared tree is refused like any other tree.

See also