Tenants
A tenant is an organisation the gateway serves: a customer, a subsidiary, a department. It is who somebody is working as, and the scope roles live in: groups belong to a tenant, and a session with no active tenant holds no roles.
Every installation owns one from its first start, and one is often all it will ever need.
Switching back to single deletes nothing: the other tenants simply stop being served, and the one that is served is the oldest.
Creating a tenant (Enterprise, several tenants): root or an account with the tenant creator capability clicks Tenants in the rail, then New tenant at the top of the drawer, types the Tenant name and picks the Group mode, then Create. The creator owns it. See Tenants.
Members
A membership is one person in one tenant, typed ADMIN or USER, and enabled or not. That is the whole enumeration - there is no OWNER membership.
Ownership is a property of the tenant, not a membership: a tenant always has an owner, the owner can be transferred, and the owner does not have to be a member. Someone who creates a tenant owns it.
An ADMIN membership, or being the owner, is what lets a person administer that tenant from the console: the tenant itself, its members, its groups, its group rules, resetting a member's password by a mailed link, reading a member's sign-in history into that tenant. A member who holds a capability of the gateway is out of that reach: their password and their sign-ins are not the tenant's. It grants nothing outside that tenant, and in particular not the global role catalogue.

The choice at sign-in
Once the first factor and the second factor are done:
| Memberships | What happens |
|---|---|
| none | the session is issued with no tenant. Someone who administers nothing lands in /account-pending, the waiting room |
| one | it is stamped on the session, silently |
| several | they choose, on /select-tenant |
Only enabled memberships of enabled tenants count.
A session that has no tenant and whose owner later gains exactly one membership adopts it on the next request - being added to a tenant takes effect without signing out.
Changing tenant afterwards is done from the user button, and re-runs the group step: a new tenant may have a different group mode and different groups.
Working hours
A tenant can restrict when its people may come in: weekdays, time ranges, a start and end date, in a named timezone.
The hours that apply come from the most precise level that sets some, and they apply whole. From the most precise to the least:
- the membership, set by the tenant's administrator in the member's drawer;
- the group, only in a tenant in exclusive group mode, where one group is chosen per session (a day shift, a night shift). In cumulative mode a person holds several groups at once, so a group has no hours there;
- the account, set by the application administrator in the account's drawer, Security page;
- the tenant, on its General section;
- the installation, on Application > General.
Hours set at a level are a different rule for whoever it covers, not a narrower one: a member given evenings gets in at 20:00 even when the tenant closes at 18:00. The membership's start and end dates hold whichever level the hours come from. Without a tenant, the account's hours apply, else the installation's. The default opens every day, around the clock. Root is never held to hours: the person who repairs the gateway is never locked out of it.
With several tenants, the chooser shows the ones whose hours are closed for this person greyed out, marked Outside working hours; a sign-in when all of them are closed is refused. The group chooser does the same with closed groups, and the session is then bound by the hours of the group chosen.
The hours are checked at sign-in and when entering or switching tenant, and the session ends when they close, however long its lifetime. The page goes back to sign-in, which then says the hours are closed. Hours changed during the day apply from the next sign-in. Refusing on hours says so plainly: it never looks like a wrong password.
Example. A tenant open on weekdays from 08:00 to 18:00. A session opened at 17:55 ends at 18:01: the minute 18:00 is part of the window. The next morning, signing in at 07:50 is refused, and the page says the hours are closed; at 08:00 it works.
What a tenant can override
| Setting | Levels, narrowest first | Editable where |
|---|---|---|
| Session lifetime | membership, tenant, installation | installation in the console; the two others through the admin API |
| Working hours | membership, group (exclusive mode), account, tenant, installation | all of them in the console: the member's drawer, the group's drawer, the account's drawer (Security), the tenant, Application > General |
| Group mode | tenant only | the tenant's screen |
| Two-factor | account, then installation | both in the console |
Two-factor deliberately has no tenant level: the second factor is asked before the tenant is known, so a rule per tenant could not be read in time.
Everything else - the password policy, the throttle, passkeys, the theme, the languages, the relay - is installation-wide.
Isolation
Every request carries the tenant it is being made in, and that is what route rules, endpoint rules and the identity forwarded upstream are all answered against. Your service receives the tenant as a fact about the caller rather than as something the caller asked for.
One thing to know: disabling a tenant, or a membership, does not end the sessions already working there. It stops new sign-ins from adopting it, but a session that already carries that tenant keeps it, and keeps its roles in it, until the session expires.
What does take effect at once is removing somebody from a group: their roles are recomputed on the next request. So the quickest way to take access away immediately is to empty the groups, not to disable the membership.