Skip to content
Mint Service Desk Documentation centre

Switch context

Mint Service Desk 3.4.2 user manual.

Introduction

The User type option is available only to users who have roles from at least two different user types: Admin, Agent, or Customer. If a user has roles from only one user type, the User type option is not available.

The User type, also referred to as Switch Context feature allows users with multiple user types to quickly switch between them from the user panel. With this feature, a single account can be assigned more than one user type. This means that the same user can have Admin, Agent, and Customer roles at the same time.

Switch Context allows one person to use the same account for different business purposes while keeping the views, features, and permissions specific to each user type separate.

Example scenario

A user has the following roles:

  • Admin – an administrative role
  • Agent – an agent role used for handling tickets
  • Customer – a customer role associated with a company

After signing in, the user can work in the selected context.

If they need to perform administrative tasks, they select the Admin user type. If they need to handle tickets as a Service Desk employee, they select the Agent user type. If they need to use the system as a customer associated with a specific company, they select the Customer user type. The user can switch between these contexts from the user avatar without needing separate accounts.

User types

The system has three main user types: Admin, Agent, and Customer. Each user type can have its own roles and permissions:

  • Admin – includes the Admin and Reviewer roles, which define the user’s administrative permissions.
  • Agent – can have multiple agent roles. These roles can be created and configured according to the required permissions.
  • Customer – customer roles are always associated with a specific company. A user can have roles for one or multiple companies, and each company can have multiple customer roles.

A single user account can have more than one user type. This means that the same person can use the system as an Admin, Agent, and/or Customer.

For example, a user can be:

  • Admin + Agent
  • Admin + Customer
  • Agent + Customer
  • Admin + Agent + Customer

A user can also have multiple roles within the same user type. For example, they can have several agent roles while also having a Customer role.

The user can switch between the available user types and use the system in the appropriate context.

Assigning roles

Roles can be assigned or removed by an Administrator from the user management section.

To manage a user’s roles:

Go to Users → User Management

Find the user whose roles you want to manage and click the Role button next to the selected user

After clicking Role, a window with three role tabs will open:

  • Administrative – Admin roles
  • Agent – Agent roles
  • Customer – Customer roles

To assign or remove a role, select the appropriate tab and check or uncheck the required role.

Once all required roles have been selected, click Save to apply the changes.

If a user has roles from at least two different tabs, meaning they have more than one user type, the User type option will appear in their user profile.

For example, if a user is assigned roles from the Agent and Customer tabs, they will be able to switch between the Agent and Customer user types using the User type option.

If a user has roles from only one tab, the User type option will not be available.

Switching user types

The active user type can be changed from the user panel.

To switch to another user type, click the user avatar and select User type from the user menu. Then select the user type you want to work with.

The system will switch to the selected context. Switching the user type changes the active context in which the user works.

For example, a user with Admin, Agent and Customer roles can work as an Agent and use the features and permissions available to their assigned agent roles:

At any time, the user can switch to the Admin user type and use the system from the admin’s perspective:

And from this place can also easily switch to the Customer’s view

Switching the user type does not remove or change the roles assigned to the user. It only changes how the user interacts with the system and which permissions apply at a given time.

Permissions

Access to individual system elements depends on the permissions assigned to the user’s roles.

This includes, among other things:

  • ticket types
  • queues
  • custom fields
  • available views
  • ticket management features
  • other system elements controlled by permissions.

Permissions are applied based on the currently selected user type. As a result, the availability of a particular feature or element may change when the user switches between user types.

Example – access to a ticket type

A user has an agent role that has access to the “Complaints” ticket type. At the same time, the user has a customer role that does not have access to this ticket type.

When the user switches to Agent, they can see “Complaints” tickets because their agent role has the required permission.

The user then switches to Customer. In this context, the permissions assigned to their customer role apply. Since this role does not have access to the “Complaints” ticket type, the user will not see this ticket type in the Customer view.

The same principle applies to other system elements whose availability depends on permissions, such as queues and custom fields.

Summary

The User type / Switch Context feature works according to the following rules:

  • A user can have roles belonging to Admin, Agent, and Customer user types at the same time.
  • A user can have multiple agent roles.
  • Customer roles are associated with specific companies.
  • A user can have customer roles for one or multiple companies.
  • The User type option is available only to users who have roles from at least two different user types.
  • User types can be switched from the user panel by clicking the user avatar.
  • Only one user type is active at a time.
  • The user does not have access to the views and permissions of all user types simultaneously.
  • Access to features and data depends on the permissions assigned to the roles available in the active context.
  • Switching the user type does not remove or modify the roles assigned to the user.