Compliant Data Sharing
What Compliant Data Sharing is and when to use it instead of standard sharing: participants, roles, supported objects, setup and limits.
How do you share a confidential record only with the people working on it, without other teams seeing it? Salesforce’s answer is Compliant Data Sharing (CDS), a feature that grants access record by record through participants and roles. This page explains which problem it solves, how it differs from standard sharing, how it works, how to set it up, what its limits are and when to use it.
The problem: information barriers
A financial institution must apply the principle of least privilege. Each employee accesses only the data their job needs. It also has to separate departments, such as investment banking and retail trading.
The reason is material non-public information (MNPI). It is confidential information about deals and clients that is not yet public and can move the market. To prevent insider trading, a markets team must not see the MNPI of an investment banking deal.
The separation is called an information barrier or ethical wall. CDS lets admins and compliance managers configure advanced sharing rules without complex code. With them they control and monitor which data is shared, and with whom.
What standard sharing offers
The starting point is the organization-wide default (OWD). It sets each user’s access to records they do not own: Private, Public Read Only or Public Read/Write. The Person Accounts page explains how person accounts constrain it.
On top of the OWD, the platform only adds access:
- The role hierarchy gives each user the access of the users below them.
- Sharing rules are automatic exceptions for public groups, roles or territories. Up to 300 are allowed per object.
- Manual sharing lets the owner give read or edit access to specific users.
None of these features can restrict access below the OWD. Neither can CDS: it also adds access.
How it works
A participant is an internal user assigned a participant role on a record. It can also be a participant group, which gathers users who play the same part.
The participant role (Participant Role) is a setup object. It defines a role for a parent object and the access level it grants.
Assigning a participant creates a record in a junction object. That record links the user or group, the role and the shared record. CDS then creates a row in the share table, with the reason “Compliant Data Sharing”. It creates it only if the role’s access exceeds the object’s OWD.
The rows follow the OWD. If it moves to a value more open than the role, they are deleted. If it goes back to Private, they are created again for the existing participants. When a user has several rows, the least restrictive wins. If they belong to several groups on the same record, they get the most open access.
The record owner, or a participant with edit access granted by CDS, can share if they have the Use Compliant Data Sharing permission. Users above the owner in the hierarchy have the same ability. Whoever receives the record also needs that permission.
Supported objects
| Object | Participant object | Requires |
|---|---|---|
| Account | Account Participant | — |
| Opportunity | Opportunity Participant | No private opportunities |
| Financial Deal | Financial Deal Participant | Deal Management on |
| Interaction | Interaction Participant | Interaction Summaries on |
| Interaction Summary | Interaction Summary Participant | Interaction Summaries on |
| Custom objects | Participant | — |
The objects shown in Object Enablement Settings depend on the features turned on in the org.
Setup
- OWD. In Sharing Settings, set the object to Private or Public Read Only. With Public Read/Write, CDS has no effect. By default, Account is Public Read/Write and Opportunity is Public Read Only. Restricting it stops some users from seeing records until participants are assigned.
- Turn on the object. In Object Enablement Settings, turn CDS on for internal users (CRM users) or Experience Cloud users. This takes the Configure Compliant Data Sharing permission.
- Permission sets. CDS is off in the Financial Services Cloud permission sets. You create two, both with the Compliant Data Sharing license: one for managers, with Configure Compliant Data Sharing, and one for users, with Use Compliant Data Sharing. The Financial Services Cloud help also suggests cloning one of its permission sets and turning the permission on there. The user also needs a Financial Services Cloud permission set license (PSL), such as FSC Sales or Financial Services Cloud Extension.
- Object access. The profile needs read, create, edit and delete on the parent object, and read and edit on the participant object’s Active field.
- Roles. In Participant Roles, create each role with its name, its parent object and its access level. The parent object cannot be changed afterwards.
- Page. Add the participants related list to the page layout or, on records such as Financial Deal or Interaction Summary, the Manage Participants component, which shares with several users or groups at once.
- Groups. Optionally, create participant groups in Participant Groups.
Considerations and limits
| Limit | Value |
|---|---|
| Active roles per object | 10 |
| Participants per record | 100 |
| Participant groups per record | 100, whatever their membership |
| Participant records per object | 50 million (20 million in scratch orgs, temporary development orgs) |
| Levels of nested groups | 5 |
The consideration that weighs most is the hierarchy. CDS adds access, but does not remove what another feature already grants. On standard objects such as Opportunity, Grant Access Using Hierarchies is always on: the owner’s superiors still see the record. Salesforce recommends an object such as Financial Deal when only participants should see it. Financial Deal, Interaction and Interaction Summary each have their own setting to turn hierarchy-based sharing off. Grant Access Using Hierarchies is not supported for participant groups.
Other consequences:
- A user with participant records cannot be deactivated. Their records must be deleted first, or the setting that keeps them inactive must be turned on.
- A role with participants cannot be deleted or deactivated. To turn CDS off for an object, its roles are deleted first.
- Changing a role’s access recalculates the rows in the background. When it finishes, an email arrives and an entry is added to Setup Audit Trail.
- Reports and list views apply sharing as usual.
- The Sharing button shows who has access and why, but only in Salesforce Classic, and only to the admin or the owner.
Example: a financing deal with MNPI
The case is invented. A bank has a structured finance team and an equities desk. The team is preparing a refinancing for a corporate client, not yet public.
- Object. The deal is recorded in Financial Deal, with Deal Management on and the OWD set to Private.
- Hierarchy. Role Hierarchy-Based Sharing for Deal Management is turned off. The head of the desk does not inherit access for sitting above.
- Roles. “Deal lead”, with read/write, and “Analyst” and “Compliance”, with read only, are created.
- Group. The team’s analysts form a participant group.
- Sharing. The owner adds the deal lead, the group and the compliance officer.
- Meeting notes. They are recorded in Interaction Summary, with CDS on, and shared with the same participants.
- Result. The equities desk is not a participant. If no other rule gives it access, it sees neither the deal nor its notes.
- Leavers. If an analyst leaves the bank, their participant records are deleted before they are deactivated.
When to use CDS and when standard sharing
The criterion is who decides access, and at what level. If access follows ownership, role or a stable data criterion, standard sharing is enough. If each record needs its own list of people, each with a role compliance has defined in advance, CDS fits. This criterion is the page’s inference from the sources.
| Situation | Option |
|---|---|
| The object is Public Read/Write and must stay so | Standard sharing: CDS would have no effect |
| Access depends on role, territory or a field | Sharing rules |
| Each record has its own team, which changes from one deal to the next | CDS |
| Superiors must not see the record either | CDS on an object whose hierarchy can be turned off, such as Financial Deal |
Before using it in production
- Set each object’s OWD to Private or Public Read Only and measure the impact (see Setup).
- Check whether superiors should see the records and choose the object accordingly (see Considerations and limits).
- Design at most 10 active roles per object (see Considerations and limits).
- Create the two permission sets and assign the PSL (see Setup).
- Grant access to the parent object and the Active field (see Setup).
- Define the leaver procedure for participant users (see Considerations and limits).
- Test in a sandbox, a separate test environment, that a non-participant user cannot see the record (see Example).
What the documentation does not say
The sources disagree on editions. The feature’s articles say Professional, Enterprise and Unlimited with Financial Services Cloud, in Lightning Experience. The permissions and editions article says Enterprise, Unlimited and Developer. Confirm it with Salesforce before you contract.
Official sources
- Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Compliant Data Sharing for Financial Services — Salesforce Help (opens in a new tab)
- Control Who Sees What with Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Set Org-Wide Sharing Defaults for Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Enable Compliant Data Sharing for Objects — Salesforce Help (opens in a new tab)
- Supported Permissions and Editions for Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Create Permission Sets for Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Grant User Access to Objects and Participant Objects and Fields in Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Add Participant Roles for Compliant Data Sharing Enabled Objects — Salesforce Help (opens in a new tab)
- Review and Edit Participant Roles for Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Add Participant Groups for Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Work with Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Share Records Using Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Add Participant Related Lists to Page Layouts — Salesforce Help (opens in a new tab)
- View Users with Compliant Data Sharing Record Access — Salesforce Help (opens in a new tab)
- Remove Access to Data Granted through Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Deactivate a User and Retain Inactive Participant Records — Salesforce Help (opens in a new tab)
- Considerations and Limitations for Compliant Data Sharing — Salesforce Help (opens in a new tab)
- Configure Sharing Settings for Financial Deals — Salesforce Help (opens in a new tab)
- Enable and Configure Financial Deals — Salesforce Help (opens in a new tab)
- Enable and Configure Interaction Summaries — Salesforce Help (opens in a new tab)
- Configure Sharing Settings for Interaction and Interaction Summaries — Salesforce Help (opens in a new tab)
- Share an Interaction Summary Using the Manage Participants Component — Salesforce Help (opens in a new tab)
- Organization-Wide Sharing Defaults — Salesforce Help (opens in a new tab)
- Control Who Sees What — Salesforce Help (opens in a new tab)
- Sharing Rules — Salesforce Help (opens in a new tab)
- Compliant Data Sharing in Financial Services Explained — Trailhead (opens in a new tab)
- Learn How to Set Up Compliant Data Sharing for Your Organization — Trailhead (opens in a new tab)