Unsupported sharing configuration
Detection
- RegExp:
not supported for (.*) since it's org wide default is
Examples
Error Contact Sharing rules are not supported for Contact since it's org wide default is Controlled by Parent
Resolution
The sharing rules of {1} do not match the sharing model of {1} in the target org.
- Deploy the sharing model of {1} (its <sharingModel> in the object file) with its sharing rules: With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- See https://salesforce.stackexchange.com/questions/260923/sfdx-deploying-contact-sharing-rules-on-a-fresh-deployment
- If you already did that, run the job again: the sharing recalculation of the target org may have been running