Info
If your organization has not yet moved to the new sign-in, your team still uses the legacy roles. For that model, refer to Roles & Permissions (Legacy). If your organization is moving now, refer to Migration Guide: Moving to the New Dashboard Sign-In.
Dashboard uses role-based access control (RBAC) to decide what each user can see and do. You give users roles. Each role is a bundle of permissions, and each permission allows one action on one resource, such as exporting sessions. A user's access is the sum of every role they hold.
Note
Roles and permissions control what your team can do when they sign in to Dashboard. They don't control what end users can do in your app, and they don't change how your API keys work. Incode tells your app whether an end user is verified, and your app decides what that end user can access. For more information, refer to Onboarding or Authentication.
This page explains how access works in Dashboard: where it applies, what a role is made of, and the rules every role follows. Read it before you set up an organization, create your own roles, or connect your company sign-in.
Where Access Lives
An organization owns its own settings, users, roles, and data. Each organization has its own sign-in URL. Users work in one organization at a time. If they have access to more than one, they switch using the organization selector at the bottom of the left menu.
Warning
The organization selector, not the address bar, shows which organization's settings are on screen. Check the selector before you change any settings.
Sign-In Methods
Each organization uses one sign-in method:
- Incode password: Your team signs in with an Incode password. This is the default.
- Company sign-in with OIDC: Your team signs in with their company account over OpenID Connect.
- Company sign-in with SAML: Your team signs in with their company account over SAML 2.0.
Dashboard includes named options for Okta and Microsoft Entra. Other identity providers use the generic option for their protocol.
Parent and Child Organizations
Organizations can be arranged as a parent with child organizations, one level deep. A child organization cannot have its own children.
- Access travels with the user. Users in a parent organization can open its child organizations, and they keep the roles and record limits they have in the parent. Nothing is copied into the child, so you don't need to set up each child separately.
- Roles given in a child apply only to that child's members. To give someone different access in one child, make them a member of that child. They then sign in to the child at its own address.
- Access never flows up. A user who is a member of only a child organization can access only that organization.
- Switching needs no new sign-in. Opening a child organization shows that organization's data, with the access the user brought.
Users with the Portfolio Manager role, which holds the organizations:create permission, can create child organizations. A user with both Access Manager and Portfolio Manager can also give another user access to a different organization.
Dashboard doesn't combine data from several organizations into one view. Users see one organization's data at a time.
Deciding Access
A user's access depends on three things:
- Roles: The bundles of permissions the user holds.
- Permissions: The actions on resources that those roles allow, such as
sessions:exportandworkflows:delete. - Scope: The organization where the roles apply.
Two optional record limits, set on the user instead of on a role, can narrow which sessions they see.
If no role grants a permission, the action is denied. Nothing has to be explicitly forbidden.
Roles
A role is a reusable bundle of permissions for one area of work, such as reviewing sessions, managing watchlists, or configuring integrations. Every role is one of three types:
- Default: A role provided by Incode. Default roles are identical in every organization, are read-only, and cannot be deleted. To customize one, duplicate it and edit the copy.
- Custom: A role created in your organization. You can edit or delete it.
- Migrated: A role created from a user's legacy access when your organization moved to the new sign-in. It's named after the legacy role, such as "Admin Legacy Role". You can assign and edit migrated roles like custom roles. For details, refer to Migration Guide: Moving to the New Dashboard Sign-In.
Default roles are designed as starting points. Duplicating the closest default role and adjusting it is the intended way to build a custom role.
Permissions
A permission is an action on a resource, written as resource:action. Examples include:
sessions:view: Allows a user to see sessions.users:export: Allows a user to download the user list.watchlist:delete: Allows a user to remove watchlist entries.
The resource is the data or feature being accessed, such as sessions, identities, workflows, analytics, or users. The action is what may be done to it, such as view, list, write, create, delete, export, import, review, onboard, assign, allow, block, or add.
Not every action exists for every resource. Most resources support three or four actions, and some support only one. For example, bot_detection supports only view. When you build a custom role, Dashboard offers only the actions each resource supports.
Some actions are narrower than their names suggest:
reviewonsessionscovers approving and rejecting a session.onboardmeans creating a session. It is not related to onboarding new team members.
For the full list of resources and the actions each supports, refer to the permission reference.
Scope
Scope is where a role applies. A role applies in the organization where it is given. Users in a parent organization also take their roles into its child organizations. For details, refer to Parent and Child Organizations.
Record Limits
Record limits narrow which sessions a user sees. They are set on the user, not on a role, and apply across every role the user holds. There are two:
- Own records only: The user sees only the sessions assigned to them.
- Limited visibility: The user sees only recent sessions, within a time window your organization sets using the Session visibility limit in hours setting in Configuration > General.
Because record limits belong to the user, one role can serve both someone who sees only their own records and someone who sees everything.
You set record limits when you add or edit a user. For steps, refer to Manage Users. If users come from your identity provider, it can set Own records only for them, and both limits are read-only in Dashboard.
Personal Data
Roles don't hide personal data. A role that gives access to a resource also shows that resource's personal data.
Deleting personal data is a separate permission. The sessions_pii:delete and identities:delete permissions allow it, and the Data Deletion default role holds both.
Combining Roles
A user can hold several roles at once. They can do anything that at least one of their roles allows. Because of this:
- Adding a role can only grant access, never remove it.
- Two roles can never conflict.
- You can keep roles narrow and build each job from more than one role.
For example, a fraud analyst who also needs to see session details can hold the Fraud Analyst and Session Reviewer roles together.
Warning
Watch for gaps. If a user can open a screen but part of it is missing, that part usually belongs to another area of work. Adding the role for that area fixes it. Dashboard does not warn you when one role is not enough, so check that a user's roles cover every step of their job.
Who Can Change Access
Three separate permissions control who can change access. A user can hold any combination of them:
users:write: Invite users. A new user starts with no roles, so this grants no access by itself.roles:write: Create and edit custom roles, including roles that contain permissions the builder does not hold.roles:assign: Give any existing role to another user, including roles that contain permissions the assigner does not hold.
Keeping these separate lets you divide the work. One person can design roles without assigning them; another can assign them without being able to change them. Users can grant access they do not hold themselves; some organizations have one user whose job is to give others access, and that user doesn't need the access themselves.
Info
No one can change their own access. Users cannot assign themselves a role, edit their own roles or settings, or deactivate or delete their own account. These controls are disabled in the user's own row in Dashboard.
Division of Duties
Because users can give out access they don't have, the following can happen:
- Two users who can each assign roles could give each other more access.
- One user who can both invite users and assign roles could create a new account and give it any role.
Dashboard doesn't block this, because that would also stop users from granting access in normal, legitimate ways. Instead, every access change is recorded in the audit log.
The default Access Manager role includes both user management and role assignment. If your compliance rules require division of duties, create two custom roles, one with the users permissions and one with the roles permissions, and give them to different people. At least one user must still hold both, so your organization always has an administrator who can recover access. Review the audit log regularly.
Where Role Assignments Come From
Roles can be assigned in Dashboard or come from your identity provider. Your organization uses one role source, set on the Setup tab of the Organization page:
- Manual: A user assigns roles in Dashboard. This is the default.
- SCIM: Roles come from your identity provider's groups, sent through user sync and mapped to roles on the Groups tab.
- IdP groups claim: Roles come from the group names in each user's sign-in. Each group name must exactly match the name of a Dashboard role.
- IAM roles claim: Roles come from a roles claim in each user's sign-in. Each value must exactly match the name of a Dashboard role.
Only roles from your current role source give access. When roles come from your identity provider, you cannot change them in Dashboard, and roles added by hand no longer give access.
Danger
Switching your role source away from Manual removes every role assigned by hand, including your own. Before you switch, make sure your identity provider already sends roles for at least one administrator. If roles will come from SCIM, follow Switch to SCIM and Map Your Groups instead. Otherwise, ask your Incode representative to make the switch.
Rules That Apply to Every Role
- Every user needs at least one role. A user with no role can sign in, but cannot do anything.
- When roles are assigned manually, every organization keeps at least one administrator.
- When giving a
writepermission, giveviewas well. Screens needviewto open, sowritealone gives no access. When you turn on an area in a role, Dashboard selectsviewfor you. - A role cannot be deleted while anyone holds it. Remove it from every user first. Deleting a role never deletes its users.
- Removing a role removes its access, including any access the user relied on without knowing which role provided it.
- Default roles cannot be edited or deleted. Duplicate a default role to customize it.
- When you duplicate a role, Dashboard adds a suffix to the copy's name.
- Role names must be unique within an organization and can be up to 80 characters. Longer names are cut off as you type, without a warning.
- Role changes take effect the next time the user's Dashboard session refreshes. They don't need to sign in again.
Related Pages
- Manage Roles: How to work with default roles and custom roles. Includes a permission reference of every resource and the actions it supports.
- Migration Guide: Moving to the New Dashboard Sign-In: How existing organizations move from legacy roles to RBAC.