Skip to content

Roles

A role is a named set of permissions. Instead of giving people permissions one by one, you give them roles; when you change a role’s permissions, everyone with that role is affected. The concepts behind roles: Roles and permissions.

Where: Administration → Users and roles → Roles. You need the permission to update roles.

The list shows each role’s Name, Description and Permissions (the number of permissions, e.g. “42 permissions”) columns. You can search with Search by name or description…. Pressing a role opens its page.

Defthand sets up and manages some roles in every company itself. Their name, description and permissions cannot be changed and they cannot be deleted; their pages show the Built-in role — read only notice.

Role What it is for
Admin (Administrator) All of the company’s settings and administration.
Basic (Basic user) The basic permissions every account gets: profile, notifications, their own work.
HR (Human Resources) The work of the Personnel module.
TrainingManager Managing the Training module.
PortalAdmin, PortalAuditee, SiteStaff Portal roles for customer portal accounts.

If you need a different set of permissions, create your own role.

  1. Press New role (or Create role in the command palette). The Create a role window opens.
  2. Enter the Name, e.g. “Regional Inspector”.
  3. Enter the Description, e.g. “Carries out inspections in the region and follows up corrective actions”. The description is shown to administrators when they assign the role; use plain language.
  4. Press Create role. It says “Role created” and the role’s page opens: “Now configure Regional Inspector’s permissions.”

A new role has no permissions; now turn the permissions on.

The role’s page has the Role details (name and description) and Permissions sections.

Permissions are grouped by resource (e.g. inspections, corrective actions, users). Each group’s header shows how many of its permissions are on; you can expand and collapse groups (Expand all, Collapse all). Each permission has an on/off switch and a description next to it. Badges:

Badge Meaning
basic A permission that is also in the Basic user (Basic) role.
root A root-level permission. It may be filtered out in your company; turning it on may change nothing.
modified An unsaved change.

The list shows only the permissions of modules that are on in your company. Permissions of a module that is off stay in a role if they were there before, but have no effect.

  • Search by resource, action, or description…: e.g. typing “report” leaves the report permissions.
  • Filters: All, Enabled (those turned on), Modified (unsaved changes), Basic (the basic permissions).
  • If nothing matches, it says “No permissions match”; clear it with Reset filters.
  • For a whole group: All or None in the group header.
  • Presets for the whole list: Basic (starts from the basic permissions), All (turns everything on), Clear (turns everything off).

As you make changes, Unsaved changes and their count appear at the bottom. Press Save changes; it says “Role saved” and All changes saved appears. Discard undoes unsaved changes.

The change applies to everyone with this role. In pages people already have open, the menu updates when the page is refreshed.

In Role details, change the Name or Description and press Save changes.

  1. On the role’s page, press Delete role.
  2. The window says “This permanently removes …. Members currently assigned will lose its permissions immediately.” Confirm.

It says “Role deleted”. Built-in roles cannot be deleted (“System roles cannot be deleted.”). If the role is used in single sign-on group mapping, those mappings are deleted too.

Example: the “Regional Inspector” role

Section titled “Example: the “Regional Inspector” role”
  1. New role → Name: “Regional Inspector”, Description: “Carries out inspections in the region and follows up corrective actions” → Create role.
  2. Under Permissions, press the Basic preset.
  3. Type “inspection” into the search; turn on the permissions to view inspections, carry out inspections and view corrective actions.
  4. Save changes.
  5. Attach this role to the “Field Team” group; everyone in the group becomes a Regional Inspector.