Skip to main content

7. Roles Ranking

Roles are arranged by rank to control who can create or assign roles at different privilege levels. A user can only manage (create/edit/assign) roles with a rank equal to or below their own. Higher‐ranking roles appear at the top of the list (with lower rank numbers, such as 1), while lower‐ranking roles appear below.

Use Cases
  • Role-Based Access Control
    A user can only manage (create/edit/assign) roles with a rank equal to or below their own, preventing unauthorized privilege escalation and ensuring secure role management.
  • Secure Role Visibility
    Users can only see roles at or below their rank when creating or managing employees, eliminating confusion and maintaining appropriate permission levels.
  • Efficient Role Management
    Admins can drag and drop roles to adjust the hierarchy, ensuring role privileges align with organizational needs and simplifying role administration.

1. Viewing the Roles Table

You’ll see a table of existing roles.

image.png

EachWhen rowyou shows:click Roles in the left-hand nav, the main pane displays every role in a table sorted by “Rank” (highest privilege at the top).

  • Rank: A number in the first column (the1 order from= highest toprivilege), lowestautomatically privilege)assigned by order.

  • Unique label: (theThe role’s name)machine-name, shown under the “Unique label” header.

  • Modules: theA list of module-tags showing what each role can access (e.g., Projects, Desks, Clients). Only the first few tags appear, with a “+X Show all” link to expand.

9,2.jpg

To the right, under Actions, there are three icons:

    • 👥 Users: AssignView/assign employees towho hold this role.role
    • Edit (pencil): AdjustOpen the role’sEdit-role panel to adjust permissions andor name.template
    • 🗑️ Delete (trash bin): RemovePermanently remove the role entirely.

2. Editing a Role

    9,3.jpg

    • Click the ✎ pencil icon under Actions for the role you want to change.

    • The Edit role drawer appears, listing every module with View/Manage checkboxes (e.g., View own, View all, Manage own, Manage all).

    • Check or uncheck permissions as needed, then click Save.

    3. Changing Role Rank (Drag‐and‐Drop)

    Why? Drag-and-drop lets you reorder the hierarchy of roles—higher in the list = higher privilege.

    3.1. Locate the Drag Handle

    9,5.jpg

    • InLook at the very left edge of the Rank column,column (the first column).

    • You’ll see a dottedsmall handlevertical appears“pill” of dots (⋮⋮) next to theeach role’s row.

    • Hovering over it changes your cursor to a “move” icon.

    1. Click and& holdHold the handle,dotted thenhandle dragon the role you want to move.

    2. Drag the entire row up to give it a differenthigher position.priority (lower rank number), or down for lower.

    3. Release to drop it into its new slot.

    image.png

    The role’s Rank automatically updates to reflect its new position. For example, if you move a role above another that had a lower rank number, the dragged role now has a higher privilege (lower rank number).

    • Security safeguard: If you movedrag a role above your own rank, you canwill no longer see orit assignin thatany roleRole dropdowns when creatingassigning to employees or identification tokens.

    • ThisPrevents preventsprivilege “rank‐4”escalation: usersA fromrank-4 givinguser can’t promote themselves or others a “rank‐3” (or higher)others) role.to rank 3 or higher.

    4. Assigning Roles to Employees or Tokens

    After ranking roles appropriately, you’ll assign them—but you’ll only ever see roles at or below your own rank.

    image.png

    • GoIn tothe left-hand nav, click Employees.

    • In the top-right of the Employees table, click + Add.Add.

    image.png

    • In the Add employee drawer, locate the Role dropdown,dropdown you’llunder onlyGeneral.

      see
    • Only roles thatwhose arerank is at or below your currentrank rank.appear.

    image.png

    image.png

    • Similarly,In inthe left-hand nav, expand Security and click Identification tokens.

    • Click + Add, at the top right of the Tokens table.

    • In the Add identification token drawer, find the Role dropdowndropdown.

      is
    • limited
    • by

      Again, rank.only roles at or below your rank are listed—higher-rank roles are hidden.

    image.png

    For instance, if your user is rank 4, you’ll only see rank 4, 5, 6… roles listed—rank 3 or above won’t appear.

    image.png

    Why Role Ranking Matters

    • Security: Prevents unauthorized privilege escalation (e.g., a mid‐level user granting themselves “super admin” powers).
    • Project Scope: Ensures a manager who only oversees one project can’t create or assign roles that exceed their scope.
    • Consistency: Keeps the system organized, with each user limited to assigning roles matching their authority level.

    The “admin” user sees and can assign roles at rank 4, 5, 6, etc.

    This ensures Admin doesn’t accidentally (or intentionally) grant privileges beyond their own.

    In short, Role Ranking is a fundamental security feature. It keeps your platform's environment safe by ensuring users can only create, assign, or manage roles at or below their rank, preventing privilege escalation and maintaining clear permission boundaries across the platform.