Skip to content

Users, roles and delegation

People get into the platform as users; machines as service accounts. What either may do is the union of the roles they hold. This guide covers the day-to-day console work: creating users, giving them roles, writing your own roles, and delegating user administration to the administrators of a client. For the model, read Principals, Permissions and roles and Tenancy.

There is one Users page, /ui/users, for two audiences. A platform administrator opens it from Identity & Access → User Management; a client administrator opens the same page from Client Administration → User Management. The page shows each audience only what they may do.

  1. Open the Users page and choose Add User (needs platform:iam:user:create).
  2. Enter the email address. The form checks the address’s domain as you type and tells you how that person will sign in: with a password on the platform, or through their organisation’s identity provider (see Connect an organisation’s SSO).
  3. For a user who signs in with a password, either let the platform email an invitation, or turn on Show the link instead of emailing it. The sign-in link is then shown once, in a dialog with a Copy button, and nothing is emailed.
  4. Choose the user’s type and client. This is the user’s tier:
Type Reaches Needs
CLIENT One home client Anyone allowed to create users (a client administrator creates only these, in their own client)
PARTNER A set of clients you grant Anchor tier and platform:iam:user:manage-access
ANCHOR Every client (platform staff) Anchor tier and platform:iam:user:manage-access

A CLIENT or PARTNER user without a client is refused before anything is saved. For a domain mapped to an identity provider, the mapping decides the tier and client of anyone who signs in for the first time, so you rarely create those users by hand.

Import CSV on the Users page takes a CSV with the columns Full Name, Email and Roles (roles separated by |). Choose the client, upload the file, and read the report: it lists the rows that were not created. A header row is skipped, and the limit is 1000 rows per file. The template is a download in the dialog.

Open a user from the list (search, status, client and role filters) to use the drawer. Which controls appear depends on your permissions; the server checks them again on every action.

Action Permission
Edit name platform:iam:user:update
Change type or home client; grant or revoke client access Anchor tier and platform:iam:user:manage-access
Activate, deactivate platform:iam:user:update
Set a password; Send reset email platform:iam:user:update
Reset 2FA (clears enrolled factors, recovery codes and trusted devices; audited; internal users only) platform:iam:user:reset-2fa
Assign roles platform:iam:user:assign-roles, plus platform:iam:role:view to see the role list
Delete platform:iam:user:delete, anchor tier only

Changing which clients a user reaches is deliberately a separate, rarer permission. platform:iam:user:manage-access is held by Platform Super Admin and Platform IAM Admin, never by a client administrator, and anchor tier alone is not enough. Without it you can still rename a user and see their client access, but not change it.

Match emails (needs platform:iam:user:view) takes addresses separated by commas, semicolons or new lines (Name <email> works too) and reports the matching users, the addresses with no user, and the entries that are not email addresses. You only ever match users you may see; a user outside your clients counts as not found. The API is POST /api/principals/match-emails.

A user reaches an application only if they have been given it. In the drawer, choose Applications to replace the set. The all-applications switch (Grant or Restrict) lifts the limit entirely and can only be turned on by someone who holds it themselves. Restricting your own flag asks first.

Open Identity & Access → Roles (/ui/roles; platform:iam:role:view, anchor tier). A role is a named bundle of permissions. Its canonical name is <application>:<role>, for example orders:dispatcher; see Role names and Permissions.

Source Edit in the console?
DATABASE: created in the console Yes: edit and delete
Code-defined or registered by an application’s SDK sync No. Change the code and sync again

In the user’s drawer, choose Roles, search, tick and save. The list is limited on purpose:

  • A platform administrator sees every role. Anyone else sees the roles of the applications the user may access, plus roles the user already holds.
  • You cannot grant a role that holds a platform permission you do not hold yourself (the ceiling, ROLE_ABOVE_CALLER). Roles above your ceiling are not offered; ones the user already holds appear locked and are kept when you save.
  1. On the Roles page choose Create (needs platform:iam:role:create, anchor tier). Editing needs platform:iam:role:update; deleting platform:iam:role:delete.
  2. Pick the application, a short name and a display name.
  3. In the editor, tick the permissions. The picker offers the application’s permission catalogue. A role holds only its own application’s permissions. Permissions you do not hold are locked: listed, kept on save, and refused if a request tries to add them (PERMISSION_ABOVE_CALLER).
  4. For an application you own, New permission adds a permission to the editor; it reaches the role when you save. To define a permission on its own, use Identity & Access → Permissions → Create.

Sync Platform Roles on the Roles page re-seeds the built-in platform roles. Run it after upgrading the platform, not routinely.

Remember that tokens carry their permissions from the moment they are minted: after you change a user’s roles, they sign in again to pick the change up.

Identity & Access → Service Accounts (/ui/service-accounts) manages machine identities. Reads need platform:iam:service-account:view; every write needs the permission for the operation and anchor scope: create, update (edit, roles, regeneration, token mint, application access) or delete.

The drawer has Webhook Credentials, API Access, Roles, Application Access and Connections sections. Four actions show a secret exactly once, in a dialog that is not stored anywhere afterwards: create, Regenerate Token, Regenerate Secret and Generate Token. Regenerating takes effect at once, so receivers still holding the old value start rejecting deliveries. Generate Token mints a one-hour bearer for testing, without exposing the client secret; it is audited.

A client administrator is an ordinary client-tier user who holds roles with the user permissions (user:view, user:create, user:update, user:assign-roles and, if they should clear second factors, user:reset-2fa). The platform confines everything they do to their own client:

  • They see their client’s users, plus partners who have been granted that client, read-only.
  • They create only CLIENT users in their client. They cannot create PARTNER or ANCHOR users, move a user to another client, or grant client access.
  • Roles they assign are bounded by the applications the client is entitled to and by their own permissions.
  • They can send resets, deactivate users import users, and (with user:reset-2fa) reset a user’s 2FA for users of their own client.
  • Client Administration → Reset Approvals (/ui/reset-approvals, needs platform:iam:user:update) is the queue of password-reset requests waiting for a decision. It is empty unless the platform runs with FC_PASSWORD_RESET_REQUIRE_STRONG_FACTOR=true. See Second factors.

To set one up: create the user in the client, give them a role built for this purpose (create it under Roles, with the user permissions and nothing else), and ask them to sign in. They will see Client Administration → User Management and nothing of the platform pages.

Every administrative identity action is written to Platform → Audit Log, and every sign-in attempt, successful or not, to Platform → Login Attempts. Use them to confirm that a change landed and to see who made it.