← All Articles

Salesforce sharing rules demystified: who sees what and why it matters

5 min read · By a 2x Certified Salesforce Architect · 9 years, 12+ orgs

Sharing rules are the unsung heroes (and villains) of Salesforce data security. In my decade managing enterprise orgs across healthcare, finance, and SaaS, I’ve seen teams waste weeks fixing access issues that could’ve been prevented with proper sharing configuration. Let’s cut through the confusion: who *actually* sees what, and why getting this wrong costs real money.

The Core Mechanics: OWDs, Roles, and Rules

Everything starts with Organization-Wide Defaults (OWDs). If Account OWDs are set to "Private" (the most secure default), users only see their own records by default. That’s where sharing rules come in—they grant exceptions to OWDs. Crucially, sharing rules work *on top of* the role hierarchy. If you share a record with a role, it flows *down* the hierarchy (e.g., sharing with "Regional Manager" makes all managers below them see it).

Real-World Examples That Break

Here’s where things go sideways in practice:

Why This Isn’t Just "Security Theater"

Bad sharing rules directly impact revenue and compliance:

Don’t rely on guesswork. Audit your sharing rules quarterly using this SOQL query to spot gaps:

SELECT Id, RuleName, Type, ParentId, SharingCriteria 
FROM SharingRule 
WHERE Object = 'Account' 
AND (RuleName LIKE '%Team%' OR Type = 'Role')

When rules are correctly configured, your sales team closes deals faster, security teams sleep soundly, and compliance auditors stop asking for the "access matrix." It’s not about complexity—it’s about precision. Misconfigured sharing isn’t a "nice-to-have" fix; it’s a direct line to financial risk and wasted productivity.

Stop letting shadow access be your org’s secret problem. Run a free Salesforce Health Scan with Org Scanner to identify dangerous sharing rules, redundant permissions, and compliance gaps before they cost you. Get your scan now—it takes 5 minutes and saves weeks of firefighting.

📚 Recommended Resource: Salesforce for Dummies — great for anyone learning Salesforce.
📚 Recommended Resource: The Phoenix Project — great for anyone IT management.
📚 Recommended Resource: NIST Cybersecurity Framework Guide — great for anyone security frameworks.
See these issues in your org?
Free health scan. 60 seconds. Read-only. No risk.
Scan My Org — Free →