{"id":487,"date":"2026-05-07T09:00:00","date_gmt":"2026-05-07T03:30:00","guid":{"rendered":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/"},"modified":"2026-05-07T09:00:00","modified_gmt":"2026-05-07T03:30:00","slug":"salesforce-sharing-rules-roles-owd","status":"publish","type":"post","link":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/","title":{"rendered":"Salesforce Sharing Rules, Roles and OWD Explained"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Salesforce Sharing Rules, roles and Organization-Wide Defaults decide which records each user can see. In our post on <a href=\"https:\/\/swapnilzambare.com\/blog\/profiles-and-permission-sets-salesforce\/\">Profiles and Permission Sets in Salesforce<\/a>, you learned how to control what a user can do with a type of record, like Accounts. But that post left one question open. Can a sales rep in Mumbai see the Accounts owned by a rep in Delhi?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post answers that question. You will learn the four layers of record access, build a small role hierarchy, and create a real sharing rule in your practice org. Also, these ideas come up in almost every admin interview, so take your time with each section.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are Salesforce Sharing Rules?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In short, Salesforce uses two kinds of security. Object-level security says &#8220;Can this user open Accounts at all?&#8221; Record-level security says &#8220;Which Account records can this user open?&#8221; Sharing rules belong to the second kind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So record access in Salesforce has four main layers. First come Organization-Wide Defaults, often called OWD. Then comes the role hierarchy. After that come Salesforce Sharing Rules, and finally manual sharing. Each layer can only open up more access, never take it away.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a simple way to picture it. Think of a large office building. OWD is the rule for every door, for example &#8220;all cabins are locked&#8221;. The role hierarchy gives managers keys to their team&#8217;s cabins. Sharing rules hand out keys to whole groups, like &#8220;the finance team can enter all billing cabins&#8221;. Manual sharing is one person lending a key to a colleague.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Record-Level Sharing Matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In most companies, however, not everyone should see everything. Sales reps compete for deals, HR records are private, and support agents need only some customer details. Without record-level security, all of this data would be open to everyone with object access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are some real situations.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each sales rep should see only their own Opportunities, but their manager should see the whole team&#8217;s deals.<\/li>\n\n<li>The support team needs read-only access to all Accounts in the Education industry.<\/li>\n\n<li>A rep goes on leave and wants a colleague to handle one key Account for two weeks.<\/li>\n\n<li>Leadership wants every user to see all Products, because product data is not secret.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">As a result, each case needs a different layer. So let&#8217;s look at how the layers work together.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Record Access Works in Salesforce<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Salesforce follows one simple principle: start locked, then open up. First, you set the OWD to the most restrictive level any user needs. Then you use the other layers to give access back to the people who need it.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1-1024x640.png\" alt=\"Salesforce Sharing Rules diagram showing the four layers of record access\" class=\"wp-image-472\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1-768x480.png 768w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1-1536x960.png 1536w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-1-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The four layers of record access in Salesforce, from Organization-Wide Defaults at the base to manual sharing at the top.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also remember that the record owner always has full access to their own record. And some profile or permission set settings, like &#8220;View All&#8221; on an object or the &#8220;View All Data&#8221; system permission, skip sharing entirely. So be careful who gets those.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where Salesforce Sharing Rules Fit in Record Access<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Organization-Wide Defaults (OWD)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, OWD sets the baseline access for records you do not own. You set it once per object in Setup, under Sharing Settings. The table below shows the common options.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>OWD setting<\/th><th>What other users can do<\/th><th>Typical use<\/th><\/tr><\/thead><tbody><tr><td>Private<\/td><td>Nothing, only the owner and those above can see it<\/td><td>Opportunities, sensitive data<\/td><\/tr><tr><td>Public Read Only<\/td><td>See the record but not edit it<\/td><td>Accounts in a small team<\/td><\/tr><tr><td>Public Read\/Write<\/td><td>See and edit the record<\/td><td>Shared reference data<\/td><\/tr><tr><td>Controlled by Parent<\/td><td>Follow the access of the parent record<\/td><td>Contacts and detail objects<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also, Leads and Cases offer Public Read\/Write\/Transfer, which lets users change the record owner as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Role hierarchy<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A role shows where a user sits in the company structure, such as CEO, Sales Manager or Sales Rep. Admins usually design this structure, which is one reason the <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-admin-vs-developer-detailed-guide\/\">Salesforce admin role<\/a> needs good business sense. By default, then, users higher in the hierarchy can see and edit records owned by users below them. So a manager automatically sees their team&#8217;s records.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do not confuse roles with profiles. A profile says what you can do. A role says whose records you can see, based on your position.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Salesforce Sharing Rules<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, sharing rules give access to groups of users automatically. There are two types. Owner-based rules share records owned by a certain role or group. Criteria-based rules share records that match field values, such as Industry equals Education.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, you can share with a public group, a role, or a role and all roles below it. Also, you choose either Read Only or Read\/Write access.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Manual sharing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, manual sharing lets a record owner, or someone above them, share one record with another user or group. It is handy for one-off cases. However, it does not scale, so do not use it as your main strategy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Real Role Hierarchy Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For example, here is a small hierarchy for a tutoring company called Bright Path Tutors. The CEO is at the top, with a Sales Manager and a Support Manager below. Each manager has team members under them.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2-1024x640.png\" alt=\"Salesforce Sharing Rules diagram showing an example role hierarchy\" class=\"wp-image-473\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2-768x480.png 768w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2-1536x960.png 1536w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-diagram-2-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">An example role hierarchy for Bright Path Tutors, showing how record visibility flows upward to managers.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In this setup, the Sales Manager sees every Opportunity owned by both sales reps. However, the two sales reps cannot see each other&#8217;s deals if the OWD is Private. And the support team sees no sales records at all, until we add a sharing rule.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Salesforce Sharing Rules vs Role Hierarchy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Both tools open up access. However, they solve different problems. The table below compares them.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Feature<\/th><th>Role hierarchy<\/th><th>Sharing rules<\/th><\/tr><\/thead><tbody><tr><td>Who gets access<\/td><td>Users above the owner<\/td><td>Any role, group or subordinates<\/td><\/tr><tr><td>Based on<\/td><td>Reporting structure<\/td><td>Record owner or field values<\/td><\/tr><tr><td>Setup effort<\/td><td>Set up once for the company<\/td><td>One rule per sharing need<\/td><\/tr><tr><td>Works sideways across teams<\/td><td>No, only upward<\/td><td>Yes<\/td><\/tr><tr><td>Access level<\/td><td>Same as the owner, by default<\/td><td>Read Only or Read\/Write<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In short, use the role hierarchy for manager visibility. Use sharing rules when teams at the same level, or in different branches, need each other&#8217;s records.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hands-on Example: Create Salesforce Sharing Rules<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s give the support team read-only access to every Account in the Education industry. We will build the roles, set the OWD and add one criteria-based sharing rule.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Create the roles<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Setup, type &#8220;Roles&#8221; in Quick Find and open Roles. If asked, pick a sample view and click Set Up Roles.<\/li>\n\n<li>Click Add Role under your company name. Enter &#8220;CEO&#8221; and click Save.<\/li>\n\n<li>Add &#8220;Sales Manager&#8221; and &#8220;Support Manager&#8221;, each reporting to CEO.<\/li>\n\n<li>Add &#8220;Sales Rep&#8221; under Sales Manager and &#8220;Support Agent&#8221; under Support Manager.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Set the OWD for Accounts<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Quick Find, type &#8220;Sharing Settings&#8221; and open it. Click Edit.<\/li>\n\n<li>Set Account and Contract to Private. Keep Grant Access Using Hierarchies ticked.<\/li>\n\n<li>Click Save. Salesforce recalculates sharing in the background, which can take a few minutes.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Create the sharing rule<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On Sharing Settings, scroll to Account Sharing Rules and click New.<\/li>\n\n<li>Fill in the values from the table below and click Save.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Value<\/th><\/tr><\/thead><tbody><tr><td>Label<\/td><td>Education Accounts for Support<\/td><\/tr><tr><td>Rule Type<\/td><td>Based on criteria<\/td><\/tr><tr><td>Criteria<\/td><td>Industry equals Education<\/td><\/tr><tr><td>Share with<\/td><td>Roles and Subordinates: Support Manager<\/td><\/tr><tr><td>Default Account access<\/td><td>Read Only<\/td><\/tr><tr><td>Opportunity access<\/td><td>Private<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As a result, every Support Manager and Support Agent can now view Education Accounts. However, they still cannot edit them, and they cannot see any Opportunities. Test this by assigning the Support Agent role to a test user and logging in as that user.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with Salesforce Sharing Rules<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Setting OWD to Public Read\/Write &#8220;to be safe&#8221;.<\/strong> It is the opposite of safe. Start with Private and open access with rules.<\/li>\n\n<li><strong>Mixing up roles and profiles.<\/strong> If a user cannot open the Accounts tab, it is a profile issue. If they cannot see one record, it is a sharing issue.<\/li>\n\n<li><strong>Expecting sharing rules to hide records.<\/strong> Sharing rules only open access. To lock things down, change the OWD.<\/li>\n\n<li><strong>Building the org chart exactly as HR draws it.<\/strong> The role hierarchy should reflect who needs to see whose data, which is often simpler.<\/li>\n\n<li><strong>Forgetting the &#8220;View All Data&#8221; permission.<\/strong> A user with it ignores every sharing setting, so check it first when someone sees too much.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Salesforce Sharing Rules<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Design OWD first.<\/strong> Decide the baseline for every object before building roles and rules, because changing OWD later recalculates sharing for all records.<\/li>\n\n<li><strong>Prefer public groups in sharing rules.<\/strong> Groups are easier to update than editing many rules.<\/li>\n\n<li><strong>Keep the role hierarchy flat.<\/strong> Fewer levels means faster sharing calculations and easier troubleshooting.<\/li>\n\n<li><strong>Use criteria-based rules for clear business needs.<\/strong> They document the reason, such as &#8220;Education Accounts for Support&#8221;.<\/li>\n\n<li><strong>Use the Sharing Hierarchy button to debug.<\/strong> It shows exactly who can see a record and why.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Practice Task<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create a public group called &#8220;Finance Team&#8221; and add yourself. Then build an owner-based sharing rule that shares Accounts owned by the Sales Rep role with the Finance Team, as Read Only.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hint: create public groups in Setup under Public Groups.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/trailhead.salesforce.com\/content\/learn\/modules\/data_security\" target=\"_blank\" rel=\"noopener noreferrer\">Trailhead: Data Security module<\/a><\/li>\n\n<li><a href=\"https:\/\/help.salesforce.com\/s\/articleView?id=sf.security_sharing_owd_about.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">Salesforce Help: Organization-Wide Sharing Defaults<\/a><\/li>\n\n<li><a href=\"https:\/\/help.salesforce.com\/s\/articleView?id=sf.security_about_sharing_rules.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">Salesforce Help: Sharing Rules<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Recap<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Record access has four layers: OWD, role hierarchy, sharing rules and manual sharing.<\/li>\n\n<li>OWD sets the baseline, so make it as strict as your most restricted user needs.<\/li>\n\n<li>The role hierarchy lets managers see records owned by people below them.<\/li>\n\n<li>Salesforce Sharing Rules open access to roles or groups, based on owner or field values.<\/li>\n\n<li>Every layer opens access. None of them can take access away.<\/li>\n\n<li>Profiles control what you can do, while sharing controls which records you can see.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s Next?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You now know how to protect data. Next, we look at where that data lives. Read <a href=\"https:\/\/swapnilzambare.com\/blog\/standard-vs-custom-objects-salesforce\/\">Standard vs Custom Objects in Salesforce<\/a> to learn when to use built-in objects and when to build your own.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce Sharing Rules, roles and Organization-Wide Defaults decide which records each user can see. In our post on Profiles and Permission Sets in Salesforce,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":471,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[8,13],"tags":[15,7,14,17,19],"swapz_series":[],"class_list":["post-487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce","category-salesforce-admin","tag-beginner","tag-salesforce","tag-salesforce-admin","tag-security","tag-sharing-rules"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Salesforce Sharing Rules, Roles and OWD Explained<\/title>\n<meta name=\"description\" content=\"Salesforce Sharing Rules, roles and OWD decide who sees which records. Learn the four layers of record access with a real step-by-step example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Salesforce Sharing Rules, Roles and OWD Explained\" \/>\n<meta property=\"og:description\" content=\"Salesforce Sharing Rules, roles and OWD decide who sees which records. Learn the four layers of record access with a real step-by-step example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/\" \/>\n<meta property=\"og:site_name\" content=\"Swapnil Zambare - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-07T03:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Swapnil Zambare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swapnil Zambare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/\"},\"author\":{\"name\":\"Swapnil Zambare\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/922ac0131aaa7088c78c2cb1700e0c9a\"},\"headline\":\"Salesforce Sharing Rules, Roles and OWD Explained\",\"datePublished\":\"2026-05-07T03:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/\"},\"wordCount\":1675,\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-sharing-rules-roles-owd-featured.png\",\"keywords\":[\"Beginner\",\"Salesforce\",\"Salesforce Admin\",\"Security\",\"Sharing Rules\"],\"articleSection\":[\"Salesforce\",\"Salesforce Admin\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/\",\"name\":\"Salesforce Sharing Rules, Roles and OWD Explained\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-sharing-rules-roles-owd-featured.png\",\"datePublished\":\"2026-05-07T03:30:00+00:00\",\"description\":\"Salesforce Sharing Rules, roles and OWD decide who sees which records. Learn the four layers of record access with a real step-by-step example.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#primaryimage\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-sharing-rules-roles-owd-featured.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-sharing-rules-roles-owd-featured.png\",\"width\":2400,\"height\":1260,\"caption\":\"Salesforce Sharing Rules featured image: roles, OWD and record access\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-sharing-rules-roles-owd\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Salesforce Sharing Rules, Roles and OWD Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"name\":\"Swapnil Zambare - Blog\",\"description\":\"Salesforce &amp; Tech Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\",\"name\":\"Swapnil Zambare - Blog\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Swapnil Zambare - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/theSwapnilZambare\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/922ac0131aaa7088c78c2cb1700e0c9a\",\"name\":\"Swapnil Zambare\",\"sameAs\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\"],\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/author\\\/swapnil-zambare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Salesforce Sharing Rules, Roles and OWD Explained","description":"Salesforce Sharing Rules, roles and OWD decide who sees which records. Learn the four layers of record access with a real step-by-step example.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/","og_locale":"en_US","og_type":"article","og_title":"Salesforce Sharing Rules, Roles and OWD Explained","og_description":"Salesforce Sharing Rules, roles and OWD decide who sees which records. Learn the four layers of record access with a real step-by-step example.","og_url":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/","og_site_name":"Swapnil Zambare - Blog","article_published_time":"2026-05-07T03:30:00+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-featured.png","type":"image\/png"}],"author":"Swapnil Zambare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Swapnil Zambare","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#article","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/"},"author":{"name":"Swapnil Zambare","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/922ac0131aaa7088c78c2cb1700e0c9a"},"headline":"Salesforce Sharing Rules, Roles and OWD Explained","datePublished":"2026-05-07T03:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/"},"wordCount":1675,"publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-featured.png","keywords":["Beginner","Salesforce","Salesforce Admin","Security","Sharing Rules"],"articleSection":["Salesforce","Salesforce Admin"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/","url":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/","name":"Salesforce Sharing Rules, Roles and OWD Explained","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#primaryimage"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-featured.png","datePublished":"2026-05-07T03:30:00+00:00","description":"Salesforce Sharing Rules, roles and OWD decide who sees which records. Learn the four layers of record access with a real step-by-step example.","breadcrumb":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#primaryimage","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-featured.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-sharing-rules-roles-owd-featured.png","width":2400,"height":1260,"caption":"Salesforce Sharing Rules featured image: roles, OWD and record access"},{"@type":"BreadcrumbList","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-sharing-rules-roles-owd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swapnilzambare.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Salesforce Sharing Rules, Roles and OWD Explained"}]},{"@type":"WebSite","@id":"https:\/\/swapnilzambare.com\/blog\/#website","url":"https:\/\/swapnilzambare.com\/blog\/","name":"Swapnil Zambare - Blog","description":"Salesforce &amp; Tech Guides","publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swapnilzambare.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/swapnilzambare.com\/blog\/#organization","name":"Swapnil Zambare - Blog","url":"https:\/\/swapnilzambare.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","width":512,"height":512,"caption":"Swapnil Zambare - Blog"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/theSwapnilZambare"]},{"@type":"Person","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/922ac0131aaa7088c78c2cb1700e0c9a","name":"Swapnil Zambare","sameAs":["https:\/\/swapnilzambare.com\/blog"],"url":"https:\/\/swapnilzambare.com\/blog\/author\/swapnil-zambare\/"}]}},"_links":{"self":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/comments?post=487"}],"version-history":[{"count":0,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/487\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media\/471"}],"wp:attachment":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media?parent=487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/categories?post=487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/tags?post=487"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}