Users and account fields

Application > Users is the accounts: who exists on this gateway, what they may do across it, and how they get in. Infra > Model is the other half: the shape of an account, decided once.

The two are apart on purpose. Defining a field and filling it are two acts by two people: one says this installation records a cost centre, the other says Alice's is B200. That separation is also what makes a custom field safe to forward, since nobody can grant themselves an attribute a service trusts.

The Users screen: six accounts, each with its five capability badges

Six accounts. The badges are buttons: admin is root, and so holds everything; alice carries dev, carla app admin, dmitri infra admin, erin tenant creator, and bob nothing. Remove developer mode (1) above the table counts the one account besides root that carries dev.

The users list

One row per account: the enabled dot, the username, the full name and the address, and the capability badges. A badge is a button: clicking it grants or revokes the power without opening the drawer.

Capability What it opens
root The whole gateway: routes, users, tenants, settings
infra admin The routing plane: routes, endpoints, authorities, TLS, the mail relay
app admin The application identity: users, roles, settings, the built-in pages
dev The developer tooling on the served applications
tenant creator Creating tenants (several-tenants mode only)

The table sums up; what each capability opens, screen by screen, is on Administration capabilities.

Row actions enable and disable an account. You cannot disable or delete yourself, nor drop your own root, and nobody but root changes their own capabilities: an administrator grants or revokes only a capability they hold themselves, on somebody else. A root account is root's alone to edit, reset, disable or delete: an app admin reads it but cannot change it.

dev alone decides who gets the developer tooling, and root always has it: on a root account the dev badge is drawn on and cannot be clicked. To close the developer surface of a production gateway, Remove developer mode (above the table, disabled while no account but root carries dev) takes the capability from every account but root's, after saying how many it reaches.

The search matches the account. The + button creates one, and asks how its owner gets in the first time - one or the other, never both:

Create an account and give it access

You need the app admin capability; placing the account in a tenant also takes administering that tenant.

  1. On Application > Users, click the round + at the bottom right (New user).
  2. Type the Username, the Full name and the Email.
  3. Under First sign-in, choose Show a temporary password or Send an invitation, then Create.
  4. With a temporary password, copy it from the dialog and hand it over: it is shown once. With an invitation, the person receives the link by mail.
  5. Place the account in a tenant: on Application > Members (with several tenants, Tenants, the tenant, Members), tick its membership and the groups that carry its roles. An account in no tenant signs in and reaches nothing.
  6. Check: the person signs in, in a private window, and lands on the applications their roles open.

The account drawer

Three pages in one drawer, and the first is the only one you fill.

The account page

Security (one tap away, and it comes back)

Sign-in history - every sign-in, where from and how. It is a door rather than a section, because a list as long as the account is old would push everything under it out of reach.

Danger zone - deletion takes the account, its memberships, its sessions and its tokens. The audit trail keeps an anonymised trace.

Infra > Model: the fields an account carries

The Model screen, where the fields an account carries are declared

What this installation knows about a person that the product could not have guessed: an employee number, a cost centre, a contract reference.

Each definition has a Name (the key a route forwards), a Label (what the account screen shows) and a Type: text, number, date, choice or yes/no. A choice field also takes its list, comma separated - and the list is what earns the type: it turns a cost centre into data rather than three spellings of the same thing.

From then on a field travels like any other fact about the caller: pick it in a route's identity forwarding to send it to a service, or in its user info to stamp it on a page.

No field is ever mandatory. A field defined today is empty on every account that already exists, and demanding it would stop the next person who opens one of them to change something else.

Add a field, remove a field, then Save - this screen has one button for the whole list.

Traps