Users and roles
Invite colleagues, give them role profiles and the right scope, and suspend or remove access when people move on.
Users & roles has the tabs Users, Invitations, Roles, Permissions and Audit history. The summary shows active members, pending invitations, role profiles and members limited to asset groups.
Inviting members#
- Go to Users & roles → Invite (needs
users.manage). - Enter their name and work email. If your invitation policy is Approved domains only, the domain must be in Approved email domains.
- Choose one or more role profiles. You can only give profiles whose permissions you hold yourself.
- Choose the scope: Workspace, or Asset groups and at least one group.
- Send. They receive one email to set up their sign-in; access starts at their first sign-in.
Invitation statuses#
| Status | Meaning | You can |
|---|---|---|
| Pending | Sent, not yet accepted. Valid for seven days; the link works once. | Edit, renew, revoke |
| Expired | Not accepted within seven days. | Edit, Renew invitation (new link for another seven days), revoke |
| Accepted | The person is now a member. | |
| Revoked | Withdrawn. The emailed link gives no access. |
Why an invitation is refused#
- "This email domain is not on your organisation's approved list." Add the domain in Settings, or invite a different address.
- "This email already has a membership or pending invitation."
- "Workspace administration permissions require Workspace scope." A member limited to asset groups cannot hold
users.manage,roles.manage,integrations.manage,automations.manageorsettings.manage.
Members#
The Users tab lists members with their roles, scope, status (Active or Suspended) and last sign-in. Search by name, email or role. Each member's page shows their effective permissions.
Changing a member's access#
Edit the member to change role profiles or scope. Changes apply on their next request, in the portal and through their API keys. You cannot change your own access, or that of a member who holds permissions you do not have.
Limiting a member to asset groups#
Choose Asset groups as the scope and pick the groups. The member then sees only those assets and the findings, remediation actions and evidence linked to them, in the portal, the API and the MCP connector. Programme, exposure, assessments, reports and administration need Workspace scope. See Members limited to asset groups.
Suspending and removing#
| Suspend | Remove | |
|---|---|---|
| Access | Blocked at once; active sessions end. | Sessions end and the membership is deleted. |
| API keys | All revoked. | Stop working (the owner is no longer a member). |
| Reversible | Yes: Reactivate access. They create new API keys. | No: invite them again. |
| Their sign-in and other organisations | Not affected. | Sign-in deleted only if this was their only organisation. |
| Audit history | Kept. | |
At least one active administrator must remain: an Active member with Workspace scope who holds both users.manage and roles.manage. You cannot suspend, remove or change the last one, and you cannot suspend or remove yourself.
Role profiles#
Built-in profiles (Workspace owner, Workspace administrator, Security analyst, Service owner, Risk approver, Executive viewer, Billing administrator) cannot be changed; clone one to customise it. Create your own with roles.manage. The full list of profiles and permissions, and the rules for custom profiles, are in Roles and permissions.
Audit history#
Access audit history records membership, invitation and role changes, 25 per page, searchable by actor, action or reference. Events include: Membership added, changed, suspended, reactivated and removed; Invitation created, changed, renewed, revoked and accepted; Role profile created, updated and deleted; API key created and revoked; Workspace switched.
From the API#
curl -s "https://api.pentesys.io/v1/users?status=Suspended" -H "Authorization: Bearer $PENTESYS_API_KEY"
Members and roles are read-only in the API.