Docs
Settings

Role Settings

Create roles and choose exactly which actions each role is allowed to perform in every module.

A role is the unit of access control in TransportechAI. Instead of granting actions to one person at a time, you describe a job -- Dispatcher, Fleet Manager, Accountant -- once, tick the actions that job needs, and then hand the role to as many employees as you like. Role Settings is where those roles are created, reviewed, and removed; assigning them to people happens on Employee Permissions.

Navigation: Settings > General > Role Settings

The list lives at /settings/general/role. Creating and editing open full pages instead of dialogs, at /settings/general/roles/add and /settings/general/roles/<id>/edit.

Purpose

Roles keep access tidy as a company grows. They let you:

  • Describe a job once and reuse it across every employee who does that job
  • Grant only the actions a job needs, module by module
  • Change access for a whole group by editing one role instead of every person
  • Keep built-in roles intact so the platform always has a working administrator account
  • See, at a glance, how many permissions a role carries and how many people use it

Roles and departments are complementary. A department groups people; a role grants them actions. You can optionally attach a role to a department, but the department by itself does not grant anything -- see Department Settings.

What You Will See

The Role Settings page is a single table of every role in the company, with the search box and the page actions above it.

The Role Settings table showing roles with the blue System badge, permission and user counts, and the pencil and trash row actions

From top to bottom the page contains:

  • Header -- Role Settings with the description Manage user roles and their associated permissions, and a Create New button on the right.
  • Search -- narrows the table as you type. A Clear link appears once a search is active.
  • Table -- one row per role.
  • Pagination -- a page-size selector, page numbers and a 1 - 7 of 7 entries style counter at the bottom of the table.

Create New is only shown when your account is allowed to add roles. The same is true of the row actions: the pencil appears only with edit permission, and the trash only with delete permission.

Table Columns

ColumnDescription
Role NameThe name of the role. Built-in roles also carry a blue System badge
DepartmentThe department the role is scoped to, or - when it applies company-wide
PermissionsHow many individual actions the role currently grants
UsersHow many employees currently hold the role
ActionsTwo round icon buttons: a pencil (Edit) and a trash can (Delete)

Click any column header to sort by it; click again to reverse the order. The page-size selector under the table changes how many roles are listed per page.

The System Badge

Roles that ship with the platform -- for example Super Admin, HR Manager, Finance Manager, Driver, Staff and Sales -- are marked System. They can still be opened and edited, but they cannot be deleted: the trash button is greyed out and its tooltip reads System roles cannot be deleted.

The Role Settings table with the delete confirmation open, warning that the role will be permanently deleted and asking to type delete

There is no read-only "view role" page. Clicking a role does not open a detail screen; use the pencil to open the role, or check the Permissions and Users counts in the table for a quick summary.

Creating a Role

  1. Click Create New in the top-right corner of the list.
  2. The Add Role page opens at /settings/general/roles/add, with the subtitle Create a new role with permissions.
  3. Optionally choose a Department.
  4. Type a Role Name.
  5. Tick the permissions the role should have (see The Permission Matrix below).
  6. Click Save.

The Add Role page with an empty Department and Role Name and the first permission category expanded with no boxes ticked

Fields

FieldRequiredDescription
DepartmentNoA native select with the placeholder Select department.... Leaving it empty creates a company-wide role
Role NameYesWhat the role is called, with the placeholder e.g. Fleet Manager. Shown wherever roles are listed or assigned

The Add Role page filled in with a department, the role name Fleet Supervisor and four actions ticked in the Allowance category

When the role is saved, a toast reading Role created successfully appears and you are returned to the Role Settings list.

The Permission Matrix

Below the two fields sits the permission matrix -- the part of the role that decides what its holders can actually do.

The role permission matrix with categories expanded into individual permissions and the View, Add, Edit, Assign, Delete, Approve and Reject columns

The matrix is a stack of collapsible categories, one per module -- Allowance, Assets, Attendance, Benefits, Cash Deposit, Deductions, Dispatch, Expense and the rest, nineteen categories in total. Each category header shows:

  • A - or + marker and the module name
  • A dark counter on the right showing checked/total -- for example 0/34 for Dispatch, meaning 34 individual checkboxes exist and none are ticked

Expanding a category reveals a table:

ColumnDescription
PermissionThe individual permission with its short description (for example Daily Booking -- Manage daily booking operations)
ViewCan open and read this module
AddCan create new records
EditCan change existing records
AssignCan hand the record to someone else (used for dispatch, assets and similar)
DeleteCan remove records
ApproveCan approve requests submitted by others
RejectCan reject requests submitted by others
ActionsA Select All link that ticks every supported action in that row; it becomes Unselect All once the row is fully ticked

Not every permission supports every action. When a module does not offer an action, that cell is left empty and the total in the category counter counts only the actions that really exist.

At the bottom of the page the footer has two buttons:

  • Cancel -- returns to the Role Settings list without saving.
  • Save -- stores the role. It stays disabled until a Role Name is entered, which means the internal Role name is required message cannot normally be triggered from this page.

Ticking View does not automatically tick the other actions, and ticking Add, Edit or Delete does not tick View. Decide per action; the platform checks each one independently.

Editing a Role

Click the pencil button on any row -- or right-click the row and choose Edit Role -- to open the Edit Role page at /settings/general/roles/<id>/edit, subtitled Update role settings and permissions.

The Edit Role page for an existing role with its name filled in and the permission matrix ready to change

The form is the same as for a new role. Categories that already contain ticked actions are expanded automatically, so you can see what the role currently grants without hunting through all nineteen modules. Saving shows a toast reading Role updated successfully and returns you to the list.

Editing a role changes access for everyone who holds it, because the change is made to the role itself. A single save can therefore affect the whole group that uses that role.

Deleting a Role

Click the trash button on a row -- or right-click and choose Delete -- to open the confirmation dialog titled Delete this role permanently?.

The dialog explains that the action cannot be undone, names the role, and tells you how many employees currently have it assigned. To continue you must type delete into the confirmation field; until then the red Delete button stays disabled.

The Delete this role permanently dialog with the role name, the warning and the confirmation field

If the role carries the System badge the trash button is disabled and does nothing. The dialog reports how many employees currently hold the role, so you can see who is affected before you confirm.

How Permissions Add Up

Employees can hold more than one role, and the permissions from every role are combined. If the Dispatcher role grants Dispatch > Daily Booking → View and the Accountant role grants Expense → Add, an employee with both roles can do both. Nothing in one role cancels out another.

Permission changes are picked up when the app reloads that employee's permission cache; a sign-out and sign-in guarantees it. If someone reports that a newly granted action is still missing, have them sign out and back in before investigating further.

Roles depend on the departments they are scoped to and on employees existing to receive them, so a fresh company is best configured in this order:

  1. Departments -- create the organisational units first. See Department Settings.
  2. Roles -- build the roles, optionally scoping each one to a department. This page.
  3. Employee permissions -- assign roles to people and fine-tune individual actions. See Employee Permissions.