'Enabling Salesforce Change data capture for OpportunitySplit object
I am trying to subscribe to the OpportunitySplitChangeEvent but getting the below error.
403::User not allowed to subscribe CDC without required permissions
I can access the Opportunity events without any issues. The user I am using has a read-only profile with a permission set assigned, which has 'View All' access for Opportunity under Object settings. I cannot see the object settings for OpportunitySplit.
I tried enabling the 'View All Data' setting under the System permissions in the permission set, but some of my clients wouldn't want to do that.
Is there a way to get the OpportunitySplit events without giving the 'View All Data' permissions under system settings? I am ok with changing my profile type but want to avoid providing the 'View All Data' permission.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
