Managing access from 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 managing-access.md, and llms.txt lists every page.The Access area is the Explorer surface for the cluster's authorization rule store, local membership groups, delegated tenant groups and member sets, and access explanations. It drives the auth administration facade and, on delegated tenant pages, the tenant directory and tenant policy facades; the Explorer presents and submits the data, but the cluster remains the enforcement point for every read and mutation.
/access is cluster-wide. Its tenant-rooted form, /t/{tenant}/access, keeps its tenant root and shows only that tenant's part of the policy: the rules whose governed tree is one of the tenant's own trees. App links from Access re-enter the current tenant where the Apps area is tenant-scoped.
Availability
Access is visible after one of two fail-closed probes admits the caller. A cluster administrator is admitted when the cluster-wide probe can read the first page of the group catalogue. A tenant administrator who is not a cluster administrator is admitted when the tenant posture probe for the asserted tenant reports delegated tenant access administration enabled and the caller administers that tenant. The verdict is remembered for the signed-in identity, endpoint and asserted tenant on the current circuit, and is asked again when any of them changes.
The area is hidden when neither the cluster-wide access facade nor the delegated tenant access facades are served, the cluster does not serve the relevant administration surface, a probe fails definitely, or a signed-in identity is refused by both probes. A cluster-wide probe the cluster did not answer (a transient fault) leaves the area not checked rather than hidden, and that answer is not remembered; see Area availability.
The only unavailable state is an anonymous or unsigned circuit that is refused by the probe. The exact sentence shown is:
Sign in to administer access on this cluster.
Inside the area, denials become Not permitted empty states or inline errors. The standard denial text for access administration is:
You are not permitted to administer access on this cluster. Ask a cluster administrator for the Admin grant on access administration.
Other faults are presented as plain sentences, for example that the cluster does not serve access administration, could not be reached, or did not answer.
Addresses
The plain addresses are cluster-wide. The tenant-rooted forms show only that tenant's items:
| Page | Plain address | Tenant-rooted form | Notes |
|---|---|---|---|
| Rules | /access, /access/rules |
/t/{tenant}/access, /t/{tenant}/access/rules |
Lists authorization rules and opens the new-rule dialog with ?new=true. Tenant-rooted, only the rules governing the tenant's own trees, with one quiet line counting the cluster-wide rules that also apply and linking to /access/rules; with delegated tenant access, separates read-only Platform rules from the tenant's own rules. |
| Rule details | /access/rules/{ruleId} |
/t/{tenant}/access/rules/{ruleId} |
Shows one rule. Use ?tree={treeId} when the rule id is reused under more than one governed tree. Tenant-rooted, another tenant's rule or a cluster-wide one is not found. |
| Groups | /access/groups |
/t/{tenant}/access/groups |
Lists groups and opens the new-group dialog with ?new=true. Without delegated tenant access, groups belong to the whole cluster, so the tenant-rooted page lists none and links to the cluster's groups. With delegated tenant access, it lists the tenant's own groups. |
| Members | None | /t/{tenant}/access/members |
Lists the tenant member set and lets a delegated tenant administrator add or remove members. There is no cluster-wide form. |
| Group details | /access/groups/{groupId} |
/t/{tenant}/access/groups/{groupId} |
Shows one cluster group, or one tenant group when delegated tenant access is active for that tenant and caller. Without delegated tenant access, tenant-rooted group details are not found. |
| Explain | /access/explain |
/t/{tenant}/access/explain |
Explains one operation or lists effective permissions. Tenant-rooted cluster Access counts the cluster-wide rules that also apply; delegated tenant Access draws the Platform and Tenant layers in decision order. |
Access uses these query keys:
new=trueopens the create dialog on the Rules or Groups page.treequalifies a rule id on a rule detail page, and names the tree for an explanation.subjectandkind=user|groupprefill the Explain page subject.operationpreselects the operation for an explanation.view=permissionsopens the effective-permissions view on the Explain page.keyandprefixtravel in Explain addresses when the scope is a single key or key prefix.
Pages and actions
Rules
The Rules page lists every rule the caller may administer, 200 at a time. It has a rule search box, an ownership filter with All rules, Authored, and App-owned, and a New rule button.
A rule draft includes:
- a stable rule id, unique within the governed tree;
- an Allow or Deny effect;
- a subject, chosen as a user or group;
- a scope: whole tree, key prefix in a tree, single key in a tree, all trees, one tenant's telemetry (see Tenant telemetry in a platform rule), or access administration when delegation is enabled;
- one or more operations, grouped as data operations, administration, and cluster-wide capabilities.
The editor offers no condition. LatticeAuthorizationRule.Condition is reserved for a future predicate language and is not evaluated in this version, so a rule that carries one grants or denies exactly as if it had none; a condition field would imply a narrowing that does not exist. A rule written with a condition through the API shows it read-only as Condition (not evaluated), with the warning "Conditions are not evaluated in this version. This rule applies unconditionally, as if it had no condition." Saving such a rule keeps the condition exactly as written, and the saved confirmation repeats the warning.
The editor refuses an empty rule id, an app-owned id prefix, an empty subject, a missing tree or key where the scope needs one, reserved system trees, no operations, cluster-wide capabilities on a narrower scope, or anything but Telemetry on a tenant capability scope. When all-trees grants are off, the scope hint says that data operations in a cluster-wide rule are refused while cluster-wide App install and Telemetry capabilities can still be granted.
The Key and Key prefix fields accept a subject-relative value such as {subject}/ or g/{group:grp:}/, which the cluster resolves for each caller; the field hint says so. The editor checks such a value as the cluster does and shows the reason beside the field - a placeholder with no delimiter after it, a control-plane tree, or a group prefix that reaches another tenant's groups - and the tenant rule editor applies the same check against the tenant's tree. The rule lists and details show the value as written.
The Tree field offers the trees you can reach, and also accepts a tree that does not exist yet, because a rule may govern a tree before it is created: a write that creates the tree needs its grant first, and a policy pipeline can sync rules ahead of their trees. Such a tree is flagged "No tree named {tree} exists yet. The rule applies to it once it is created." rather than refused.
Saving a rule submits it directly to the cluster. Directory validation failures are shown beside the subject, app-owned-rule failures beside the rule id, and other denials or faults as a form error.
The Rule details page shows effect, subject, scope, operations, and owner, and, for a rule that carries a condition, the condition with the same not-evaluated warning beside it. Authored rules can be edited. Deleting a rule opens a destructive confirmation named Delete this rule; the confirmation text states that the rule stops applying at once and cannot be undone. App-owned rules are read-only, are attributed to their app, and link to /apps/{slug}/roles so role bindings can be changed in the Apps area. The page also links to Explain for the rule's subject.
Groups
The Groups page lists groups 200 at a time and searches by group id or display name. New group opens a create dialog.
The group id is a plain text box for the new group's name, not a picker (see Pickers). As you type, it says "A group named {id} already exists." when the cluster already defines that group. With a directory configured, the id may name a directory group or a new group stored here (a stored group, administered in Access and not listed by the directory); the hint says so. A directory user's id is refused ("{id} is a user in the identity directory (static roster), not a group."), and so is any id in the reserved tenant group namespace t/. Only when the cluster requires every group to be in the directory (LatticeIdentityDirectoryOptions.ValidationRequired, reported as AccessModelDescriptor.DirectoryValidationRequired) is an id the directory does not know as a group refused when you leave the field and again when you submit, for example "{id} is not a group in the identity directory (static roster), and this cluster stores only directory groups."; the hint is then the directory's own explanation of a valid id. With no directory configured, the hint says the id is used as typed and must not name an existing group. A refused create keeps the dialog open with the id, and says why: "The group was not created: ...".
A tenant-rooted groups page (/t/{tenant}/access/groups) lists tenant groups when delegated tenant access administration is on for that tenant and caller. Otherwise it lists no groups, because cluster groups belong to the whole cluster, not to one tenant. In that case it links to the cluster's Groups page, /access/groups, where cluster groups are listed and created; asking for New group there with ?new=true points you to it.
The Group details page shows the display name, direct members, parent groups, and rules that apply to the group. Operators can rename the group, add a user or nested group as a direct member, remove a direct member, explain access for the group, or delete the group.
Removing a member opens a destructive confirmation named Remove this member. Deleting a group opens a destructive confirmation named Delete this group; the confirmation says the group record is removed, rules that name it stop matching anyone through it, and the action cannot be undone.
When the cluster's membership merge mode means local membership has no effect, group and member data remain visible, but creating groups and adding or removing members are turned off. Rules that name a group still matter when a token asserts that group.
Explain
The Explain page asks the cluster why a user or group is allowed or denied an operation on a scope. It can also list the rules that form a subject's effective permissions. The verdict is the cluster's verdict: the page renders the returned Allowed flag, default effect, reason, group closure, filtered range-read note, and matched rules in precedence order.
The form supports cluster-wide, tree, key-prefix, and single-key scopes. Groups in a result link back to their group pages. The group closure shown by the access facade is resolved from the membership directory for the named subject; a live caller's token may assert additional groups.
Subject picking and directory validation
Every user or group field is a type-ahead picker (see Pickers). A user comes from the cluster's identity directory alone. A group comes from two sources listed together, each labelled beside the id: Directory for a group the identity directory lists, Stored for a group administered in the Access area (the auth facade's group catalogue, its first page and an exact look-up of the typed id beyond it), and Directory and stored for one that is both. So a group created in Access can be chosen as a rule subject, a nested group member, or (in the Apps area) a role binding once a directory is configured. The picker searches as you type: each query is one bounded search, and a burst of typing costs one search. It lists matching principals by id, with the display name, rendered as text, beside each; choosing one can fill a form's display name, and a chosen group shows its source and id below the field. There is no separate search button and no load-more control: the list is bounded, so keep typing to narrow it. Changing between user and group clears the id.
With a directory, only a listed principal is accepted, so an unknown id is refused inline before anything is sent, and the directory's own explanation of what a valid id looks like is shown as the hint. A group is listed when either source lists it; a source that cannot answer is left out, so only a group some source still lists can be chosen. Adding a member checks the id again before writing: a user must be in the directory, and a group must be a directory group or a stored group (a stored group only when the cluster does not require directory groups). The server validates group creation and member additions again when validation is required: unknown ids and wrong-kind ids fail before the membership write. With no configured directory, the picker says "No identity directory is configured, so the id is used as typed and is not validated." and accepts the typed id, still suggesting the stored groups.
Tenant groups in a platform rule
The rule editor's subject also offers Tenant group, to a platform operator and nobody else (the same operator gate the tenant switcher uses). A tenant group is chosen by its tenant, then one of that tenant's stored groups, listed through the tenant directory facade; the subject becomes the group's full id t/{tenant}/{name}, shown below the field as Tenant group. Before the rule is saved the picker asks the tenant directory for that exact group, and refuses it when the caller is not an operator, the tenant has no such group, delegated tenant access administration is off, or the group cannot be verified. A tenant group id is never typed into existence: one typed into the User or Group source is refused. The cluster confines a rule naming a tenant group to that tenant's own trees (t/{tenant}/{name}, not its app-owned or system trees), so the Tree field then offers that tenant's trees by full id, and the editor refuses any other tree, and any scope without a tree, before saving: "A rule naming tenant group t/acme/acme-analysts may govern only tenant acme's own trees (t/acme/...). Choose one of them." Group members never offer tenant groups: a tenant group is never a member of a cluster group. On tenant pages nothing changes: another tenant's group can never be chosen there (see Tenant scope).
Other Access fields that choose an existing thing are pickers too: the Tree field of a rule or an explanation offers the trees you can reach. Like a rule's, the Tree field of an explanation also accepts a tree not created yet and asks about it as typed, flagged "No tree named {tree} exists yet. The answer is what the rules give it once it is created." A new rule's id is a plain name box, not a picker: it offers no existing ids, and refuses an id already in use under the rule's tree ("A rule with this id already governs this tree."). The id is checked once the rule's tree is known, and the all-trees and access-administration scopes each count as a tree of their own, so an id used on one tree is free on another. That check reads one page of rules, so it is a guide rather than a guarantee: the cluster still refuses a real collision when the rule is saved.
Tenant telemetry in a platform rule
Telemetry is a cluster-wide capability, so a grant over All trees (cluster-wide) shows every tenant's and the platform's metrics. To let a tenant's administrator see that tenant's telemetry and nothing more, a platform operator chooses the scope One tenant's telemetry (tenant capability). The editor then asks for the Tenant (one of the cluster's tenants, never the reserved default tenant) and offers Telemetry alone: every other operation is disabled, and a draft carrying any of them is refused with "A tenant capability rule grants Telemetry for that one tenant and nothing else. Clear the other operations." The rule is stored at LatticeScope.TenantCapability(tenant), the tenant's control-plane capability id _lattice_tenant_admin_{tenant}, and its details show the scope as tenant {tenant} capability (telemetry).
The holder then sees that tenant's boards on /t/{tenant}/telemetry: every chart is pinned to the tenant's own series, a request for every tenant is answered for that tenant alone and labelled as narrowed, and another tenant's or the platform's telemetry is never shown (see Telemetry). Name a user or a cluster group as the subject: a rule naming a tenant group is confined to that tenant's own trees, and the capability id is not one of them. A tenant administrator cannot author this rule; tenant-tier rules never carry Telemetry.
Access posture banner
Rules and Groups show the cluster's access posture when it can be read:
- authentication mode: anonymous, claims, Basic, or unknown;
- whether rules are Enforced or Recorded, not enforced;
- whether all-trees grants are on;
- whether access-admin delegation is on;
- whether an identity directory is configured.
If rules are recorded but not enforced, the page warns that the rule set is advisory until enforcement is turned on. If local group membership is inert, the page warns that groups and members defined in the Explorer have no effect on access.
Palette and address completions
Access contributes these commands:
| Command id | Label | Target |
|---|---|---|
access.explain |
Explain access... |
/access/explain |
access.create-rule |
Create an access rule |
/access/rules?new=true |
access.create-group |
Create a group |
/access/groups?new=true |
The visible controls carry the same command ids: the Explain navigation link, New rule, and New group.
The address line completes group:{id} and rule:{id} from the first page of the group and rule catalogues. Typing /access/groups/ or /access/rules/ completes the same targets. A successful write invalidates the completion cache.
Limits and caching
- The availability probe reads one group row.
- Rule and group lists load 200 rows at a time.
- A subject-picker query is one directory search bounded by the picker's limit (8 by default).
- Address completions read at most the facade's maximum auth page size for groups and rules.
- The access model and completion catalogues are scoped to the circuit. Writes clear the group and rule completion cache.
- The area availability answer is cached per signed-in identity on the circuit.
Server authority
The access facade authorizes every cluster-wide administration call as access administration on the policy tree before reading or mutating membership or policy state. Tenant Access pages call the tenant directory and tenant policy facades, which authorize the named tenant before reading or mutating tenant groups, members or rules. Policy explanations are computed through the same access gate used by the data plane. The Explorer is therefore an administrative client, not a second policy engine.