Newer Version Available

This content describes an older version of this product. View Latest

Required Permissions for Subscription

Change Data Capture ignores sharing settings and sends change events for all records of a Salesforce object. To receive change events, the subscribed user must have one or more permissions depending on the channel that is subscribed to. The following table outlines the required permissions per channel.

Standard Channel Permissions

For standard channels, user permissions are enforced when the user subscribes to a channel. If the user has insufficient permissions, the user can’t subscribe to the channel, and an error is returned. For more information about user permissions, see View All and Modify All Permissions Overview in the Salesforce Help.

Channel Required Permissions
/data/ChangeEvents View All Data AND View All Users
/data/UserChangeEvent View All Users
/data/<Standard_Object_Name>ChangeEvent

Or

/data/<Custom_Object_Name>__ChangeEvent
View All for the object OR View All Data

Some standard objects don’t have the View All permission, such as Task and Event. In this case, the View All Data permission is required.

Custom Channel Permissions

For custom channels, user permissions are enforced on event delivery. A user can subscribe to any custom channel. If the user has insufficient permissions to an entity associated with a change event sent on the channel, the user doesn’t receive the event message. For more information about user permissions, see View All and Modify All Permissions Overview in the Salesforce Help.

Channel Required Permissions
/data/YourChannelName__chn View All for the object OR View All Data

View All Users for User change events