Explanation
Explanation:
Universal Containers (UC) has implemented an Experience Cloud site to allow customers to create and update cases online, but customers should only access cases where they are listed as the Contact, including cases created by the support team on their behalf. To meet this requirement, the consultant should recommend configuring a sharing set to grant access to records based on the customer’s associated Contact record. This ensures secure, user-specific access to cases in the Experience Cloud site, aligning with Salesforce security best practices. Below is a concise explanation of why this is the best choice and why the other options are less suitable.
A. A sharing set to grant the Experience Cloud site user access to records associated to their Contact record:
Sharing Sets in Salesforce Experience Cloud are designed to control access for external users (e.g., customers) by granting permissions to records associated with their Contact or Account record. For UC, a sharing set can be configured to give Experience Cloud users (e.g., Customer Community users) Read/Write access to Case records where they are listed as the Contact.
This ensures customers can view and update cases they created or those created by the support team on their behalf (where their Contact record is linked). Sharing sets use the user’s profile or role to map access to their Contact record, providing granular and secure access control.
Implementation: Create a sharing set for the Experience Cloud profile (e.g., Customer Community User), set the Case object to grant Read/Write access based on the Contact field, and apply it to the site’s users. This restricts access to only the relevant cases, maintaining data privacy and compliance.
Reference:
Salesforce Help:
Sharing Sets for Experience Cloud
Trailhead:
Experience Cloud Basics
B. A sharing rule to ensure record access is granted based on the Experience Cloud site user role hierarchy:
Sharing Rules grant access to records based on criteria (e.g., ownership, field values) or role hierarchy, but they are less suitable for external Experience Cloud users. Sharing rules typically apply to internal users or specific roles, and Experience Cloud users (e.g., Customer Community users) don’t typically have roles in a role hierarchy, as they are external users tied to Contact records.
While sharing rules could theoretically grant access to cases, they are less precise for UC’s requirement, as they don’t inherently tie access to the user’s Contact record. This could lead to over-sharing or complex configurations to achieve the same result as a sharing set.
Why not ideal: Sharing rules are less tailored for Experience Cloud users and may require additional setup to mimic the Contact-based access that sharing sets provide out of the box.
Reference: Salesforce Help:
Sharing Rules
C. An organization-wide default of Public Read/Write on the Case object:
Setting the Organization-Wide Default (OWD) for Cases to Public Read/Write would allow all users, including Experience Cloud users, to view and edit all Case records, regardless of their association with the Contact. This violates UC’s requirement to restrict access to only cases where the customer is listed as the Contact and poses a significant security risk by exposing all cases to all users.
OWD settings define the baseline access level for an object and are not granular enough to meet UC’s specific access control needs. This approach would also conflict with data privacy best practices.
Why not ideal: Public Read/Write OWD is overly permissive, compromising data security and failing to meet the requirement for Contact-specific access.
Reference: Salesforce Help: Organization-Wide Defaults
How Sharing Sets Work for UC:
Configure the Case object’s OWD to Private or Public Read Only to restrict access by default.
Create a sharing set for the Customer Community User profile in the Experience Cloud site.
Set the sharing set to grant Read/Write access to Case records where the user’s Contact matches the Case’s Contact field.
Example: Customer Jane Doe logs into the Experience Cloud site. Her user record is linked to her Contact record. The sharing set ensures she can view and edit only cases where she is the Contact (e.g., self-created cases or those created by the support team on her behalf).
Exam Relevance: The Service Cloud Consultant exam tests Security and Access (part of Service Cloud Solution Design, 16%) and Experience Cloud configuration, emphasizing secure access for external users. Sharing sets are a key feature for controlling access in Experience Cloud, ensuring compliance with data privacy requirements.
Reference:
Salesforce Certified Service Cloud Consultant Exam Guide:
Exam Outline
Trailhead: Data Security in Salesforce