Managing user roles

Who can do it: Service provider
Where: Wialon Platform Studio

A role is a reusable set of permissions that you can assign to one or more customer users. Instead of configuring permissions individually for each user, you can create a role once and apply it to multiple users across different customers. When you update a role, the changes apply to all users who have that role.

A user can have either a role or individual permissions, but not both at the same time. When you assign a role to a user, the role replaces any previous role or individual permissions. A role also can’t be combined with a device list. To limit a user to specific devices, use individual permissions.

Roles are managed on the Roles page in Wialon Platform Studio.

Roles available to a customer

Customer users can assign roles to each other when they manage users in Wialon Platform FleetSpace. They can assign only the roles available to their customer account. By default, all roles are available to new customers and to existing customers.

You assign roles to the customer users in the user details on the Users tab. See Assigning a role from the “Users” tab.

Keep in mind the following rules:

  • If a role is no longer available to the customer, it’s unassigned from the users of this customer. These users keep the same access rights as individual permissions.
  • If you delete a role, it’s no longer available to any customer.
  • When you copy a customer or create one from a template, the list of roles available to the original customer isn’t copied. All roles are available to the new customer.

Creating a role

To create a role:

  1. In Wialon Platform Studio, expand the Resources section in the navigation menu.

  2. Open the Roles page.

  3. Click New role.

  4. On the General tab, enter a role name and an optional description.

  5. Click Next.

  6. Open the Permissions tab.

  7. Set the permissions for the role in the four main categories: Devices, Drivers, Entities, and Workspaces. The available permissions are the same as for individual user permissions.

  8. Open the Users tab.

  9. Assign the role to the users who must have the selected permissions. To do this, follow the guide to assigning roles from step 3.

  10. Click Save.

After saving, the role appears in the roles table and becomes available for assignment to users. The Users tab of the role also becomes available.

Assigning a role to users

You can assign a role to users in two ways: from the Roles tab or from the Users tab.

You can’t assign a role to a user whose access is limited to specific devices. For such a user, the Assign role button on the Permissions tab is disabled. To assign a role, first remove all devices on the user’s Access scope tab. See Limiting access to devices.

Assigning a role from the “Roles” tab

Use this method to assign a role to multiple users at once.

  1. On the Roles tab, click the role you want to assign.
  2. Open the Users tab.

  1. Click Assign to user.
  2. Click the Users field to open the list of customer accounts and their users. Select the users you want to assign this role to.
  3. Click Add.

The selected users now have this role, and their permissions match the role configuration.

Assigning a role from the “Users” tab

Use this method to assign a role to a specific user.

  1. On the Customers page, select the customer account.
  2. Open the Users tab and click the user you want to configure.
  3. Go to the Permissions tab.

  1. Click the Assign role button.
  2. Select the role from the list. The dropdown shows the role name and description you’ve added. To find a role, start typing its name in the search field.
  3. Click Save.

After saving, the role name appears as a label next to the Assign role button. The user’s permissions now match the role configuration.

Viewing users with roles

You can see which role is assigned to each user on the Users tab on the Customers page. The Role column shows the role name as a label or displays Individual permissions if the user doesn’t have a role.

The Devices column shows whether the user’s access is limited to specific devices. See Viewing which users have limited access. The Status column shows whether the user can sign in. See Managing customer user access.

Unassigning a role

To remove a role from a user without changing their current permissions:

  1. On the Users tab, select a user.
  2. Go to the Permissions tab.
  3. Click the cross icon in the label with the role name next to the Assign role button.
  4. Click Confirm to unassign a role and switch to individual permissions.

After you unassign a role, the user keeps the same permissions but they become individual and are no longer linked to the role. You can now customize this user’s individual permissions and limit their access to specific devices. The changes in the user settings won’t affect the role.

Saving individual permissions as a new role

If you have customized a set of individual permissions for a user and you want to reuse it, you can save your setup as a new role:

  1. On the Users tab, select a user.

  2. Go to the Permissions tab. The user must have individual permissions (not an assigned role).

  3. Click the icon three-dot icon to open menu options.

  4. Select Save as new role.

  5. Enter a name and a description for the new role and click Save.

The new role is created with the user’s current permission configuration and is automatically assigned to the current user. You can view and edit this role on the Roles tab.

Editing a role

You can edit permissions in the existing role without creating a new one.

Changes to a role apply immediately to all users who have this role assigned.

To edit an existing role:

  1. On the Roles tab, click the role you want to edit.
  2. Update the name, description, or permissions as needed.
  3. Click Save.

Deleting a role

To delete a role, click the icon in the role row on the Roles tab and confirm the deletion.

You can’t delete a role if there are assigned users. To delete a role, unassign users first.

When you delete a role, it’s also removed from the roles available to customers.

Managing the roles table

The roles table on the Roles tab displays the following columns:

  • Name: The role name.
  • Customers: The number of customer accounts that have users with this role.
  • Users: The number of users this role is assigned to.
  • Description: The role description.

You can sort the table by clicking a column header. To manage column visibility or change column order, click the icon gear above the table. Use the checkboxes to show or hide columns, and drag them to change the order. Click Reset to restore the default settings.

Use the search field to filter roles by name.

If you find a mistake in the text, please select it and press Ctrl+Enter.