Access control
Knowing who is calling is one question; whether they may pass is another. Meerkat answers the second one with four pieces: a role catalogue, groups that hand roles out, tenants that scope the groups, and a rule on each route that reads the result.
Roles
A role is a name in a single, gateway-wide catalogue. Roles form a hierarchy: a parent role implies its children, so granting finance-manager grants everything under it without listing any of it.
Roles carry tags, which are for classification rather than for permission. Roles marked as system roles cannot be deleted; deleting an ordinary role moves its children to the top level rather than deleting them.
The catalogue is global on purpose. What differs between tenants is who holds what - not what the words mean.

The catalogue is edited in Application > Roles (Roles and groups).
Groups
A group belongs to a tenant and bundles roles from the catalogue. People are assigned groups per tenant, which is what lets the same account be an administrator in one and a reader in another.
Each tenant chooses how its groups add up:
| Mode | In the console | Meaning |
|---|---|---|
MULTIPLE |
Cumulative | every group assigned to the member counts, and their roles are cumulated |
SINGLE |
Exclusive | one group at a time, chosen at sign-in; the others do not apply until the person signs in again |
MULTIPLE is the default. In SINGLE mode, a session with no group chosen has no roles at all.

Tenants
A tenant groups people and the groups they are in. A membership is typed ADMIN or USER. Ownership is a separate field on the tenant, always set, transferable, and independent of membership: an owner need not be a member.
A member carries their own overrides on top of the tenant: whether they are enabled, their access window, their session lifetime.
The inheritance chain
Two settings resolve member, then tenant, then installation, most specific wins:
- the session lifetime;
- the business access window (days, hours, time zone).
A third, separate chain exists per authentication authority, for MFA, passkeys and account auto-creation.
Business access hours are an Enterprise capability, and partially built: there is no re-check during a session, and the per-member window has no editor in the console.
Account capabilities
Some rights are not roles: they are flags on the account, because they are about administering the gateway rather than about using an application.
| Flag | In the console | What it opens |
|---|---|---|
root |
root | global administration; implies the two below |
infraAdmin |
infra admin | the routing side: routes, TLS, authorities, the mail relay |
appAdmin |
app admin | the application side: accounts, roles, the global settings, the built-in pages |
dev |
dev | the developer tooling on the served applications (root always has it) |
tenantCreator |
tenant creator | may create tenants |
They are toggled on the account's row in Application > Users. What each one opens is detailed in Administration capabilities.
Administering a tenant is deliberately not a flag: it is being its ADMIN member, or its owner.
The rule on a route
Each route carries one rule, and it is read on two axes combined with AND.
It is set in the route's Security section, whose first field, Who may call it, is the first axis: what belonging is required.

| Level | In the console | Passes |
|---|---|---|
| (empty) | Anyone | everyone - the route asks nothing and the upstream decides |
auth |
Signed in | any signed-in account |
tenant |
In a tenant | a signed-in account with an active tenant |
tenants |
In one of these tenants | ...and that tenant is one of the named ones |
capabilities |
With capabilities | an account holding one of the named capabilities (root, infra admin, app admin, dev, or the administrator of the active tenant). Roles given by groups do not count. Posed on a whole route only, never on one endpoint |
deny |
Nobody | nobody |
The second axis is the roles the caller holds in their active tenant (Roles (any one grants access); left empty, any role passes).
So roles: [admin] on its own means an administrator of any tenant, while tenants: [acme] plus roles: [admin] means an administrator of Acme. A list of named accounts can be added (Exception, Users always allowed), and it is read first: a named person passes whatever the level asks, deny included.
An example: the administrators of Acme
A route for Acme's back office, open to Acme's administrators and to one support account:
access:
level: tenants
tenants: [acme]
roles: [admin]
users: [support-desk]
| Caller | Active tenant | Roles held there | Result |
|---|---|---|---|
| an Acme administrator | Acme | admin |
passes |
| an Acme reader | Acme | reader |
refused: the role is missing |
| a Globex administrator | Globex | admin |
refused: wrong tenant. If the account is also a member of Acme, it is offered to switch |
support-desk |
none | none | passes: a named account passes whatever the level asks |
How to set each part in the console is in A route's access rule.
What a refusal looks like
The gateway answers in the order of what the person can actually do about it:
| Situation | Answer |
|---|---|
| No session, and this is a navigation | the sign-in page, with where they were going |
| No session, and this is an API call | 401 with WWW-Authenticate: Session |
| A sign-in step still owed | that step |
| Switching tenant would help | the tenant chooser, saying why |
| No membership at all | the waiting room |
| Anything else, on a UI route | /refused, which names the rule that turned them away and offers what this session can open |
| Anything else, on a service route | a plain 403 - nobody reads a 403 in a browser |
Every refusal of a signed-in caller writes one warning line carrying the same reason code the page shows, so what a person reports and what the log says are the same thing.
Per-endpoint rules
A route that exposes an OpenAPI spec can carry rules per operation - method plus path, with {var} templates and * for any method - on the endpoint inventory the gateway read from that spec. The first matching override wins. They are set in Infra > Endpoint security (Per-endpoint security).

What is not built
- Impersonation - signing in as somebody else to reproduce what they see. Nothing exists: no banner, no double identity in the audit trail, no endpoint.
- A global RBAC off switch - a mode where any signed-in account passes. The equivalent is written route by route, which is a convenience rather than a mechanism.