How do permission sets, custom permissions and sharing control who can use Dispatcher Console tools in Salesforce Field Service?
Answer
Access to the Dispatcher Console is controlled by licenses and permission sets, not by profile alone.
Layers
- Permission Set Licenses (for example Field Service Dispatcher) unlock the features.
- Package permission sets such as FSL Dispatcher or FSL Admin grant access to the console, the Gantt and scheduling actions.
- Object and field permissions decide which Work Orders, Appointments and Resources a user can see.
- Sharing (org-wide defaults, territory or role-based sharing) limits visible records.
Custom permissions are useful when you build your own console components or actions. For example, only senior dispatchers may run bulk optimization.
apex
public with sharing class OptimizeController {
@AuraEnabled
public static void runOptimization(Id territoryId) {
if (!FeatureManagement.checkPermission('Can_Run_Optimization')) {
throw new AuraHandledException('You do not have permission to run optimization.');
}
// start optimization
}
}
Best practice: assign permissions by role (permission set groups), follow least privilege, and test as each role.
PermissionsCustom PermissionDispatcher ConsoleSecurity