Scenario
User is unable to merge duplicate customers due to an error stating: 'XXXXXXX Customer' cannot be merged or deleted because: Not enough permissions." when using a custom role.
The custom role already has Full Access Level on both Customer and Duplicate Entity Management permissions but is still getting the error when attempting to merge customer records.
On the other hand, a customized Sales Role with Full permissions to Customer and Duplicate Entity Management permissions can merge duplicates without any error.
Solution
- Compare Custom Role in question with the custom Sales role.
- Navigate to Setup > Users/Roles > Show Role Differences
- Base Role: Select Custom Role
- Compare To: Select Custom Sales Role
- Click Show
Note: The Custom Role in question doesn't have a Contacts permission whereas the customized Sales Role has the same permission added.
- Add the Contacts permission to the Custom Role (e.g. Staff Role).
- Navigate to Setup > Users/Roles > Manage Roles
- Custom Role in question: Click Edit
- Click Permissions
- Click Lists
- Permission:
Note: For every required field use the drop-down menu to select it and once adjusted click Add if needed.- Select Contacts
- Access Level: Select Full
- Select Contacts
- Click Save
Note: Custom Role is now able to perform the merge without getting any errors.