Creating custom user roles
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Customer Service Management
System administrators can create custom roles or modify the access of existing roles by using script includes and extension points/instances.
- The script includes store JavaScript functions and classes to handle the role access control logic.
- Extension points/instances designate places where custom scripts can be called and then processed to extend base functionality.
The administrator can use the extension points/instances to create their own role access constants file similar to CSQueryBRUtilOOBConstants.
- global.CSQeryExtensionPoint: the provided extension point for CSM role configuration
- instance.CSQueryExtensioninstanceOOB: the provided extension instance for CSM role configuration
To create a role:
- Create a constant file to hold the configurations for the new role similar to CSQueryBRUtilOOBConstants. For example:
- Create an extension instance to hold the logic returning this new constant file to CSQueryBRUtil.
- Make sure that this role is on the instance and contains the sn_esm_user role.
- Assign this new role to a contact.
- Create or modify the ACLs and query business rules for this role as necessary.
For more information about modifying ACLs and query business rules, see KB0685767.