Skip to content
Mint Service Desk Documentation centre

User Role Resolver

Assign company roles automatically when a user’s email matches a rule. Apply the rules to incoming email and, optionally, new registrations.

User Role Resolver assigns company roles to users who create tickets by email or, optionally, register through the website. Rules match the user’s email address. For example, a rule matching “customer” assigns its selected role to customer@mintsd.com when that user sends a ticket.

Upon opening the User Role Resolver tab, a table with the list of existing configurations is displayed, including the columns Name, Order, Stop after match, Active, and Action.

Administrators can manage column visibility and search the table by Name and Order; the Action column provides Edit and Delete buttons, while the remaining columns are described in detail in the configuration creation section below.

To create a configuration, click on the + button located in the upper right corner of the page below the user icon. After clicking, a configuration creation form will open.

Filter section

In the Filter section, you define the logical conditions that determine whether a company role should be assigned to a user. The logical operator field allows you to toggle between AND and OR, defining how all conditions in the configuration are evaluated together. Next to this field, there is a plus (+) icon that lets you add a new condition row.

Each added row contains an operator selection list (Contains, StartsWith, EndsWith, IsEqual, or MatchPattern), a text field where you enter the full email address or its fragment (e.g., part of the username or domain), a Match case checkbox to enable case-sensitive comparison, and a delete (trash) icon to remove the condition if needed.

Configuration settings section

In the configuration settings section, you define how the rule behaves once the filter conditions are met.

The Name field is used to identify the configuration, while Order determines the sequence in which the system evaluates this rule in relation to others.

The Role field specifies which company role will be assigned to the user when the filter matches. You can set one or more company roles to assign. The Stop after match option ensures that no further configurations are evaluated after this rule is successfully applied. The Active checkbox controls whether the configuration is currently enabled in the system, and Include registration form determines whether the rule should also apply to users registering through the system’s registration form.

Example

A new user with the address customer@mintsd.com sends a ticket. A rule matches addresses containing “customer” and assigns the Customer role for the Mint Service Desk company.

After the message is processed, the role is assigned automatically.