Roles

A role is a named collection of privileges outlining a specific set of actions a user can perform. Using roles simplifies permission management by allowing you to assign a single role to a user rather than configuring multiple individual privileges.

circle-info

A role can include an unlimited number of privileges.

Predefined roles

Tuum provides two predefined roles:

  1. ADMIN — Can view and manage all company-related data, including full employee management capabilities.

  2. SYSTEM — Designed for principals accessing the system via APIs, such as third-party applications or internal microservices.

circle-info

You may use the predefined roles as provided, but you are not allowed to modify them.

Create roles

Beyond these predefined roles, you can create custom roles tailored to your organisation's specific needs.

Use the Create rolearrow-up-right endpoint to create a new custom role. In the request body, specify the privileges that should be included in the role.

Manage roles

The following API endpoints are available for managing roles in Tuum.

Delete role

Use the Delete rolearrow-up-right endpoint to remove a specific role.

Last updated

Was this helpful?