QUESTION:
I am trying to update some permissions on one of my custom profiles and cannot save the changes due to the following errors regarding DupeBlocker Scenario Target Filters & DupeBlocker Scenario object permissions. What am I doing wrong and how can I resolve?
Error: Invalid Data.
Review all error messages below to correct your data.
- Permission Create DupeBlocker Scenario Target Filters depends on permission(s): Read DupeBlocker Scenarios
- Permission Delete DupeBlocker Scenario Target Filters depends on permission(s): Read DupeBlocker Scenarios
- Permission Edit DupeBlocker Scenario Target Filters depends on permission(s): Read DupeBlocker Scenarios
- Permission Read DupeBlocker Scenario Target Filters depends on permission(s): Read DupeBlocker Scenarios
ANSWER:
These errors will occur if you originally installed DupeBlocker 2 and DID NOT grant access to non-admin users, so all profiles (except the profile assigned to the admin user) have "No Access" to any of the DupeBlocker objects. If the instance is then upgraded to DupeBlocker 3 and during that installation/upgrade "Full Access" was granted to all users the DupeBlocker Scenario Target Filter object, which is new in DupeBlocker 3, gets full access. Due to the relationship between Target Filters and Scenarios, Salesforce will not allow this "mixed" level of access, but the issue is not detected by Salesforce until you try and update one of the profiles.
There are 2 ways to resolve:
- Update the permissions on the DupeBlocker Scenario object to allow read access
- Remove all access from the DupeBlocker Scenario Target Filters object