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.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 tagsM2toM9on the others name the release that introduced them, and routes check those permissions today. session:readandsession:revokeare 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.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}withnameordescription(team:update). - Membership:
GET,POSTandDELETEon/api/v1/teams/{teamId}/members(team:member:manage).POSTtakes auserIdand an optionalmembershipRoleofmember(the default) orlead, and changes the standing of someone already in 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.
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/passwordwithcurrentPasswordandnewPassword). 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-outwith{"everywhere": true}).
Branding
The company name, product name, logos and colours the console renders come fromGET /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.