Roles and permissions
Create roles, choose the permissions and token budget each one grants, and give roles to the users in a company.
A role is a named set of permissions that you give to users in a company. Create a role when a group of people needs the same access, and use its token budget to limit what they spend.
Before you start
- You need the Manage roles permission.
- To see who holds a role, you also need the View users permission.
- A role belongs to one company. If your organization has more than one company, decide which company the role is for.
Create a role
- Go to Settings → Companies → Roles.
- Select New role.
- Choose the Company the role belongs to.
- Optional: under Start from a template, choose a template to fill in a starting set of permissions.
- Enter a Role name, such as
Content Editor, and a Description of the role's purpose. - For Level, choose This company or The whole organization.
- Under Permissions, select what the role allows.
- Optional: enter a Token budget.
- Save the role.
Intuidy confirms with Role created. The role appears in the list with its level, holders, and budget.
The templates are starting points:
| Template | What it covers |
|---|---|
| Admin | Full access to all features, settings, and billing |
| Manager | Manage users, workflows, and dashboards |
| Analyst | Build workflows and dashboards, export data, and read and use managed databases |
| Viewer | View-only access to dashboards and workflows |
| Billing Manager | Manage billing, payments, and token purchases |
Assign permissions
The Permissions field in the role's editor lists every permission a role can grant. Select the ones the role needs. A role's detail page shows the result under Permissions, or No permissions granted if none are selected.
Sharing permissions sit in their own Sharing group:
- Each row is one class of sharing and shows who it reaches. Select Allowed for each class the role may use.
- Select Hand out edit as well as view to let holders give other people edit access. Without it, holders can share for viewing only.
For what each class of sharing means, see Sharing model and scopes.
Roles also decide who may read or write through items marked sensitive. You set that in Settings → Data Sensitivity; see Data rules and sensitivity labels.
See agent lessons and See system-gap notes decide who can see the records in Learned knowledge. Agents use their lessons and approved notes whether or not anyone holds these permissions.
Database permissions
Four permissions control what a role may do with managed databases, the databases you create and run inside Intuidy. Each one includes the permissions below it in the table.
| Permission | What it allows |
|---|---|
| Create and Delete Databases | Create and delete managed databases; take, restore, download, and delete their backups; set their backup schedule; turn their extensions on and off; and install templates that create a database. Includes every other database permission. |
| Edit Databases | Change a database's settings and logins, its tables, and its rows through the console and imports. Includes Query Database Data and Use Databases in Workflows. |
| Query Database Data | Read data from managed databases in notebooks, the console, the API, and agents. Includes Use Databases in Workflows. |
| Use Databases in Workflows | Bind a managed database in a workflow node or as a workflow account binding. |
A role with none of these can still run workflows that read a database. A run follows the database the workflow is bound to, not the permissions of the person who runs it.
System roles
A role's detail page shows its Type: Custom, or System — holds every permission. A system role always holds every permission, so its permissions can't be changed. You can change its name, description, level, and budget. For a narrower set of permissions, create a separate role.
Set a token budget
A token budget limits how many tokens users with the role may spend per period. Tokens are the billing unit in Intuidy; see Tokens and usage.
| Field | What to set |
|---|---|
| Token budget | The number of tokens per period. Leave it blank for unlimited. |
| Budget period | Daily, Weekly, Monthly, or Yearly. |
| When the budget is exceeded | What happens when users with the role go over the budget. |
| When the budget is exceeded | What happens |
|---|---|
| Warn only | Users see a warning and can keep working. |
| Block usage | Further operations that spend tokens are prevented. |
| Notify admin | Usage continues and the billing contact is alerted. |
Create an organization-level role
An organization-level role can give its holders access in more than one company.
- Go to Settings → Companies → Roles.
- Select New role, or open an existing role's editor.
- For Level, choose The whole organization.
- Set which companies the role reaches, using the options in the table below.
- Save the role.
| Setting | Result |
|---|---|
| Reach every company in the organization turned on | The role's own permissions apply in every company in the organization. |
| A company role chosen for a company | That company role applies to the role's holders in that company. |
| Not reached | The role gives no access in that company. |
To check the result, open the role. Its Companies list shows each company it reaches and the company role applied there.
Give a role to a user
- Go to Settings → Companies → Roles and open the role.
- Select Add holder.
- Choose a user from the role's company. You can search by email or name.
- Select Add.
The user appears under Holders with their email and status. To take the role away, remove the user from Holders.
You can also grant roles from a user's editor under Users, in the Roles field. A user holds roles of their own company only. See Users.
Change or delete a role
To change a role, open its editor, make your changes, and save. Intuidy confirms with Role updated.
To remove a role, select Delete role.
Troubleshooting
- You can't change a role's permissions. It is a system role, which always holds every permission. Create a separate role with the permissions you want.
- An organization-level role gives its holders no access. The role's page shows No companies mapped. Open its editor and turn on Reach every company in the organization, or choose a company role for at least one company.
- You can't see who holds a role. The Holders list needs the View users permission.
- You can't save a role without a token budget. Your organization has Require Role Budgets turned on, so every role must define a token budget before it can be created or updated.
- A user lost their roles after moving to another company. Changing a user's company clears their roles. Grant roles from the user's current company.
- A company has no roles to choose from in the user editor. Create a role for that company first.
↳ Users ↳ Sharing model and scopes ↳ Companies and organizations