You are here:
Edit Sharing Rules
For a sharing rule based on owner or group membership, you can edit only the sharing access settings. For a sharing rule based on other criteria, you can edit the criteria and sharing access settings.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions See Sharing Rule Considerations for more information on availability. |
| User Permissions Needed | |
|---|---|
| To create sharing rules: | Manage Sharing |
- From Setup, in the Quick Find box, enter Sharing Settings, then select Sharing Settings.
- In the Sharing Rules related list for the object, click Edit.
- Change the label and rule name if desired.
-
If you selected a rule that's based on owner or group membership, skip to the next step. If
you selected a criteria-based or guest user sharing rule, specify the criteria that records
must match to be included in the sharing rule. The fields available depend on the object
selected, and the value must be a literal number or string. To change the AND relationship
between filters, click Add Filter Logic.
Note You must create guest user sharing rules to open up record access to guest users. Keep in mind that the guest user sharing rule type grants access to users without login credentials. By creating a guest user sharing rule, you're allowing immediate and unlimited access to all records matching the sharing rule's criteria to anyone. To secure your Salesforce data and give your guest users access to what they need, consider all the use cases and implications of creating this type of sharing rule. Implement security controls that you think are appropriate for the sensitivity of your data. Salesforce is not responsible for any exposure of your data to unauthenticated users based on this change from default settings. -
Select sharing access settings for users. Some access settings aren’t available for some
objects or in some situations.
Note Contact Access isn’t available when the organization-wide default for contacts is set to Controlled by Parent. - Click Save.
After updates to sharing rules, sharing rules are recalculated to add or remove access as needed. Depending on the nature of your updates and your org’s setup, these sharing calculations can take awhile to complete. If you experience sharing evaluations or timeouts, consider deferring sharing calculations before making large-scale updates, and then restart and recalculate sharing at a later time. For more information, see Defer Sharing Calculations in Salesforce Help.

