---
schema_version: "1"
id: 1173f529d2c8fda8f584deb402f70d67c3649343d93d49056257763ad18bb74c
title: Automatic Recalculation of Org-Wide Defaults and Sharing Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/security_sharing_recalculating_parallel.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.security_sharing_recalculating_parallel.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3b0bac6a088c1c7099d5d8e8f46e86b03d56f457c40a6a862e84d7d68cb1295d
description: When you update organization-wide defaults or sharing rules, automatic sharing recalculation is processed asynchronously and in parallel.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# Automatic Recalculation of Org-Wide Defaults and Sharing Rules

When you update organization-wide defaults or sharing rules, automatic sharing recalculation is processed asynchronously and in parallel.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic
            and Lightning Experience</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>,
              <strong>Unlimited</strong>, and <strong>Developer</strong> Editions
            </p>
            <p style="margin-bottom:0;">See <a href="https://help.salesforce.com/s/articleView?id=platform.security_sharing_rule_considerations.htm&amp;release=264.0.0&amp;type=5" title="Review these considerations before using sharing rules.">Sharing Rule Considerations</a> for more information on availability.</p>
          </td>

        </tr>
      </tbody>
    </table>

Review these considerations for automatic sharing recalculation behavior.

## General

- If sharing rules are recalculated for accounts, cases, contacts, or opportunities, sharing rules are also recalculated for the other three objects. This behavior occurs because cases, contacts, and opportunities are child objects of accounts.
- To maintain implicit sharing between accounts and child records, updating the org-wide default on an account or its child objects disables further org-wide default and sharing rule updates on them. For example, when you update an opportunity sharing rule and recalculation is in progress, you can’t update the org-wide default or sharing rules for accounts, contacts, opportunities, and cases.
- In the Background Jobs page, these processes correspond to these job subtypes: **Account — Extra Parent Access Removal** and **Account — Parent Access Grant**. Additionally, deleting a sharing rule corresponds to the job subtype **Object — Access Cleanup**, denoting that irrelevant share rows are removed.
- When sharing is recalculated, Salesforce also runs all Apex sharing recalculations.

## Monitoring

- You receive an email notification upon completion of the recalculation.
- You can monitor the progress of your parallel sharing rule or organization-wide default recalculation on the Background Jobs page or view recent sharing operations on the View Setup Audit Trail page.

## Share Locks

- You can’t modify the org-wide defaults when a sharing rule recalculation for any object is in progress. Similarly, you can’t modify sharing rules when recalculation for an org-wide default update is in progress.
- You can make changes to the org-wide defaults and sharing rules for other objects.

#### See Also

- [_Monitoring Background Jobs_](https://help.salesforce.com/s/articleView?id=xcloud.monitoring_background_jobs.htm&type=5&language=en_US)
- [Recalculate Sharing Rules Manually](https://help.salesforce.com/s/articleView?id=platform.security_sharing_recalculating.htm&release=264.0.0&type=5 "When you make changes to sharing settings, groups, roles, and territories, sharing rules are reevaluated to add or remove access as necessary. You can manually recalculate sharing rules if sharing rule updates have failed or aren’t working as expected.")
- [Implicit Sharing](https://help.salesforce.com/s/articleView?id=platform.sharing_across_objects.htm&release=264.0.0&type=5 "Implicit sharing is a built-in mechanism in the Salesforce platform that automatically grants users access to parent records if they can access related child records and vice versa. There’s also built-in sharing behavior for external site and portal users.")