Sharing for sales teams
OWD, the role hierarchy, account and opportunity teams, sharing rules, implicit sharing and territories: how a sales org decides who sees which accounts and deals, and how ownership and data skew break it.
Simple explanation
Sales data is usually the most contested data in the org: sellers want privacy, managers want visibility, and specialists need temporary access.
The layers, from baseline to exceptions:
- Org-wide defaults (OWD) set the baseline. A common sales model is Account Private, Opportunity Private, Contact Controlled by Parent.
- Role hierarchy: managers see what their teams own (with Grant access using hierarchies). It is an access and roll-up hierarchy, not necessarily the HR org chart.
- Account teams and opportunity teams give named people access to a specific record with a role and access level.
- Sharing rules open access by owner group or by criteria (for example, all Public sector opportunities to the bid team).
- Territories (Sales Territories) give access to accounts based on territory assignment, independent of ownership.
- Manual sharing and Apex managed sharing for exceptions.
Implicit sharing is built in:
- Parent implicit: if you can see an opportunity, contact or case, you get read access to its account.
- Child implicit: the account owner gets access to opportunities, contacts and cases on their account, at the levels set on the role.
Skew is the performance trap:
- Ownership skew: one user (often an integration user) owning a very large number of records (guidance: over ~10,000).
- Account data skew: one account with a very large number of child records (guidance: over ~10,000), for example a Generic Unknown account.
Real-world analogy
A law firm's client files.
- By default, a partner sees only their own clients' files (OWD Private).
- Senior partners see their team's files (role hierarchy).
- A tax specialist is added to one client's matter team (account or opportunity team).
- Every file for a regulated industry is shared with the compliance team (criteria-based sharing rule).
- An information barrier stops the M&A team seeing the target company's files, which you can't do just by adding more sharing.
Worked example
A sales org with direct, partner and strategic-account teams.
- OWD: Account and Opportunity Private, Contact Controlled by Parent.
- Role hierarchy: VP Sales β Regional Director β Sales Manager β AE. Directors see their region's pipeline.
- Account teams add the customer success manager and solution engineer with Read/Write on account, Read on opportunities.
- A criteria-based sharing rule shares opportunities over a threshold with the Deal Desk group (read only).
- Territories give the regional overlay specialists access to accounts in their territories without owning them.
- An integration user owns nothing: integration-created accounts are assigned to real owners by rule, avoiding ownership skew.
Diagram
Key points
- Typical sales OWD: Account and Opportunity Private, Contact Controlled by Parent. Open up with explicit mechanisms.
- The role hierarchy is for access and roll-up, not a copy of the HR chart. Keep it shallow and stable.
- Account and opportunity teams give per-record access with roles. Default teams make coverage consistent.
- Implicit sharing (parent and child) is automatic. It's why seeing an opportunity gives read access to its account.
- Territories add access independent of ownership. They're the right tool when coverage changes every year.
- Avoid ownership skew and account data skew (~10,000+ records): distribute ownership, avoid catch-all accounts.
Limits and gotchas
- Restriction rules don't support Account or Opportunity β verify current supported objects. Hiding records that the hierarchy or teams would grant has to be designed into the model (separate ownership branches, no sharing rules), or use an industry feature built for it.
- Sharing recalculation after role changes, territory realignment or big ownership moves can take a long time in large orgs. Schedule realignments and use deferred sharing calculation where available.
- Account teams vs opportunity teams: account team access doesn't automatically flow to opportunities beyond the access levels set on the team member. Check each level.
- A catch-all account (Unknown company) with hundreds of thousands of contacts causes lock contention and slow sharing. Use a few bucket accounts or leads instead.
- Removing a user from the role hierarchy (or changing it) recalculates access for everything they own. Integration and system users should own as little as possible.
π€ How to say this in an interview
"I start private for accounts and opportunities and open access deliberately: the role hierarchy for managers, teams for named collaborators, criteria-based rules for functions like deal desk, and territories when coverage is assignment-based and changes yearly. I check implicit sharing so I don't promise privacy the platform won't give, and I design ownership to avoid skew, especially for integration users and catch-all accounts."
Common follow-ups
Two regional teams must never see each other's opportunities on shared global accounts. How?
Account access can be shared, but opportunity visibility must be split. Keep Opportunity OWD Private, put the regions in separate role branches with no cross-branch sharing rules, and don't use account-level grants that cascade to opportunities. Check child-implicit access: the account owner sees opportunities on their account, so a global account owner may need a neutral role or the global account owned by a central team. Because restriction rules don't cover Opportunity β verify, this must be achieved by not granting, not by hiding.
What is 'grant access using hierarchies', and when would you turn it off?
It's the OWD setting that lets users above the owner in the role hierarchy inherit access. It's always on for standard objects; for custom objects you can turn it off. You'd turn it off where managers must not automatically see their reports' records, for example confidential HR-related or deal-team-only custom objects, and grant access through teams or sharing instead.