The Administration group in the console holds four screens: Users, Teams, Roles and access and Settings. A fifth, Your account, is reached from your name in the top bar and from the command menu, not from the rail. How much of this you can use depends on how NHI Security is deployed. Inside TRUSTIVAN, people and their roles come from TRUSTIVAN on every request, so the parts that would create people or change roles do not exist. In a standalone deployment NHI Security keeps its own accounts and passwords, and all of it works.

What works in which sign-in mode

Inside TRUSTIVAN, the Users screen is not your membership list. An account appears the first time its holder opens NHI Security, so a member who has never opened it is missing, and someone you removed in AppSec stays listed as active. Their access still ends: every request is checked against TRUSTIVAN first. See Limitations.
Every change on this page needs the Organization Admin role, which inside TRUSTIVAN means an Owner or an Admin. Every role can open Users, Teams and Settings. Every role except Developer can open Roles and access.

Roles

NHI Security decides access by permission, never by role name. A role is a named set of permissions, defined in code and identical for every organization. You cannot create a role or edit what one carries. Roles and access (role:read, GET /api/v1/authorization/model) renders that catalogue: one card per role with its permission keys, a yours marker on the roles you hold, and every permission grouped by area. Three things on that screen need reading with care:
  • Inside TRUSTIVAN only three roles are held. Owner and Admin map to Organization Admin, Member to Security Analyst, Viewer to Viewer. The other three cards describe roles nobody has.
  • The catalogue heading reads “20 of 63 are enforced today”. That counts the permissions tagged M1. The tags M2 to M9 on the others name the release that introduced them, and routes check those permissions today.
  • session:read and session:revoke are checked by no route. Nothing lets one person list or end another person’s sessions. Suspending the account is what ends them.

Granting and removing a role (standalone)

In Users, pick a role from Grant role… on the person’s row (role:assign, POST /api/v1/users/{userId}/roles with {"role": "auditor"}). A person can hold several roles and gets the union of their permissions. The control is not shown on your own row. Removing a role has no console control. Call DELETE /api/v1/users/{userId}/roles/{role} (role:revoke). It is refused when it would leave the organization with no active Organization Admin. A removal applies on the person’s next request, because permissions are read again each time. Their sessions are not ended.

Users

Users (user:read) lists each account with its status, roles, teams and last sign-in. A locked pill beside the status means a lockout was recorded for the account after repeated failed sign-ins. The lockout lasts for the duration set in Settings. The row button offers Suspend or Reactivate (PATCH /api/v1/users/{userId}/status with {"status": "suspended"} or "active"). Suspending or disabling ends every session the account has. You cannot change your own status, and the last active Organization Admin cannot be suspended or disabled. Disabling is API only: send "disabled". A disabled account returns to active in two steps, through suspended. No route deletes an account.

Invite someone (standalone)

1

Create the invitation

In Users, select Invite someone, enter the email address and choose the Role on acceptance (user:invite, POST /api/v1/invitations with email and role).
2

Send the link yourself

The console shows the acceptance link once. NHI Security sends no email, and stores only a digest of the token, so the link cannot be shown again. Copy it and deliver it yourself.
3

The person accepts

They open the link, enter their name and choose a password that meets your organization’s minimum length. The account becomes active with the role you chose, and they sign in with the organization identifier, their email and that password.
An invitation works once and expires after seven days. A second invitation to an address with one outstanding is refused, as is one to an address that already has a working account. Outstanding invitations lists what has not been accepted. Revoking one has no console control: call DELETE /api/v1/invitations/{invitationId}, then invite again. A link that cannot be used gets one answer, “That invitation is no longer valid”, whether it expired, was used, was revoked or never existed. Nobody can set another person’s password. POST /api/v1/users (user:create) creates an invited account with no credential, and that account still needs an invitation before anyone can use it.

Teams

A team records accountability, never access: membership grants no permission. Its purpose is to own non-human identities, so that ownership survives a person leaving. See Ownership. Teams (team:read) lists each team with what it owns (its description), its member count and its creation date. Create one with a name of up to 120 characters, unique in the organization, and an optional description (team:create, POST /api/v1/teams). Delete one from its row (team:delete). Two things are API only today:
  • Renaming: PATCH /api/v1/teams/{teamId} with name or description (team:update).
  • Membership: GET, POST and DELETE on /api/v1/teams/{teamId}/members (team:member:manage). POST takes a userId and an optional membershipRole of member (the default) or lead, and changes the standing of someone already in the team.
A lead is who gets asked about the identities the team owns. It is a label, not an authorization role. Reassign the identities a team owns before you delete the team.

Settings

Settings (organization:read, GET /api/v1/organization) shows the organization’s name, its identifier (the slug used at standalone sign-in, which no route changes) and whether it holds demonstration fixtures or customer data. Below that are five security parameters, editable with organization:update through PATCH /api/v1/organization/settings. Send any subset as whole numbers; a value outside its bounds is refused. Tightening a session limit does not shorten sessions that already exist. Their deadlines were set when they were issued, and the new idle window applies from each session’s next extension. A password is also refused when it is longer than 256 characters, contains the part of your email address before the @, is one repeated character, or contains a run of six sequential characters.
Inside TRUSTIVAN these five values do not apply. They are read only by NHI Security’s own password sign-in, its own sessions, password changes and invitation acceptance, none of which exist in that mode. So the screen shows the organization and says sign-in is managed in TRUSTIVAN, and PATCH /api/v1/organization/settings answers 404.

Your account

In a standalone deployment, Your account shows your name, email, organization, roles and permission count, and lets you:
  • Change your password (POST /api/v1/auth/password with currentPassword and newPassword). Every other session you have is ended; the one you are using stays.
  • Review your active sessions, each with when it started, when it was last used, when it expires, its source address and client, and end any of them (DELETE /api/v1/auth/sessions/{sessionId}).
  • Sign out everywhere (POST /api/v1/auth/sign-out with {"everywhere": true}).
None of these needs a permission, and none can act on anyone else: the subject is always the signed-in caller. There is no self-service password reset. If you forget your password, an Organization Admin cannot set one for you, and no route invites an address that already has a working account.

Branding

The company name, product name, logos and colours the console renders come from GET /api/v1/branding/current, a public route that needs no sign-in. It always returns the deployment’s default brand, which database migrations seed. No route and no screen changes it, for an organization or for the deployment. The schema can hold a brand per organization, and the route never looks one up.

Where to go next

Platform operators

The separate operator console that provisions organizations in a standalone deployment.

Governance and audit

Where every change on this page is recorded, and who can read it.

Ownership

Assigning an identity to a person or a team.

Limitations

People, roles and offboarding inside TRUSTIVAN.