Skip to main content

Roles

A role is a named set of permissions. Instead of granting permissions to every user one by one, permissions are granted to a role and the role is assigned to users (directly or through an organization unit). Every user who holds the role receives all of its permissions.

Roles are managed from Administration > Identity Management > Roles.

Roles are the main building block of authorization. How roles, users, user groups and permissions work together is explained in User Management and Authorization.

Purposes of Roles​

  • Grouping permissions that belong to the same job function (for example "Maintenance Planner" or "Warehouse Operator").
  • Granting and revoking access for many users at once by changing a single role.
  • Assigning default access to newly created users.
  • Giving every member of an organization unit the same access by assigning the role to the unit.

Role Operations​

The role listing page provides standard functions such as searching, filtering and sorting. These functionalities are detailed under General System Usage.

Role List​

The list shows the following columns:

  • Role name: The name of the role. Public roles are marked with "(Public)" next to their name.
  • User Count: The number of users that have the role.

Filters are available for Role name and User Count. The New button at the top of the page opens the role creation dialog.

Each row has an action menu with the following actions:

  • Edit: Opens the role edit dialog.
  • Permissions: Opens the permission dialog of the role (see below).
  • Move all users: Moves all users that have this role to another role.
  • Delete: Deletes the role after confirmation.

Role Definition Page​

This dialog is used to create a new role or edit an existing one.

  • Role name: The name of the role. Required and must be unique within the tenant. The name of a static role (such as admin) cannot be changed.
  • Default: When checked, the role is automatically assigned to every newly created user. Optional.
  • Public: When checked, the role is public; public roles are marked "(Public)" in the role list and can be seen by other users. Optional.

Static roles: Some roles, such as the built-in admin role, are static. Static roles cannot be renamed or deleted. The admin role is created automatically for every tenant together with the first administrator user.

Role Permissions​

The Permissions action opens a dialog that lists all permissions defined in the system:

  • The left side lists the permission groups (modules) with the number of permissions in each group. The right side shows the permissions of the selected group as a tree.
  • A parent permission (for example User Group) is the "view/access" permission of a function; its children are the individual operations (Create, Update, Delete, Batch Operations, Design and so on). Ticking a child permission automatically ticks its parents; unticking a parent also unticks all of its children.
  • Select all ticks every permission in the current group that you are allowed to change.
  • The Search box filters permissions by name across all groups.
  • Permissions that are reserved for the admin role appear greyed out for users outside the admin role, together with the note "Greyed-out permissions are reserved for the admin role and cannot be changed on this screen."

Changes take effect when you click OK. The menus of the affected users are refreshed automatically so that newly granted or revoked menu items appear or disappear.

Move All Users​

The Move all users action moves every user of the selected role to another role in one step. The dialog reads "Move all users with role role to:".

  • Select the target role and confirm to move the users.
  • If no target role is selected, the users are simply removed from the current role.

This is useful when a role is being retired or merged into another role.

Authorization and Access Control​

Topics related to authorization and access control are detailed under User Management and Authorization.

The role screens are protected by the following permissions in the Identity management permission group:

  • Role management: Required to see the Roles menu item and the role list.
  • Create: Create new roles (the New button).
  • Edit: Edit roles and use Move all users.
  • Delete: Delete roles.
  • Change permissions: Open the Permissions dialog of a role and change the role's permissions.

All Identity management permissions are reserved for the admin role. A user outside the admin role cannot grant or revoke them, even if they can manage permissions.

Warnings and Error Messages​

  • Required field: Role name must be filled ("This field is required").
  • Duplicate role name: "Role name '{0}' is already taken."
  • Static role renaming: "Static roles can not be renamed."
  • Static role deletion: "Static roles can not be deleted."
  • Reserved permissions: "These permissions are reserved for the admin role and cannot be granted or revoked here: {permissions}" — shown when a non-admin user tries to change a reserved permission.

User Tips and Best Practices​

  • Design roles around job functions: Name roles after the work people do, not after individual people.
  • Grant the minimum needed: Start with the parent (view) permission and add only the operations the role really needs.
  • Use organization units for role assignment: Assign a role to an organization unit when everybody in that unit needs it; members inherit it automatically.
  • Use the Default flag carefully: Every new user gets default roles; keep them limited to basic access.
  • Keep admin for administrators: The admin role holds the reserved administration permissions; give it only to people who administer the system.
  • Clean up before deleting: Use Move all users to move users to their new role before deleting an old one.

Frequently Asked Questions​

What Is the Difference Between a Role and a User Group?​

A role is primarily a set of permissions. A user group is a team of users used in business processes (for example as the assignee of a work order); user groups can also be given permissions directly.

Can a User Have More Than One Role?​

Yes. A user can have any number of roles and receives the combined permissions of all of them, plus the roles inherited from organization units.

Why Can't I Rename or Delete the admin Role?​

The admin role is a static role. Static roles cannot be renamed or deleted.

What Happens to Users When I Delete a Role?​

The role is removed from all users that had it, and those users lose the permissions that came only from that role. Use Move all users first if they should keep equivalent access.

Why Are Some Permissions Greyed Out in the Permission Dialog?​

They are reserved for the admin role (for example Identity management, SaaS, settings and function design permissions). Only members of the admin role can grant or revoke them.