معمارية الأمان
الآليات التي تكسب الثقة: التأكد من أن البيانات مرئية فقط للأشخاص المقصودين برؤيتها.
يقدّم Salesforce إعدادات أمان كثيرة ومختلفة، مثل الملفات الشخصية، ومجموعات الأذونات، وfield-level security، وقواعد المشاركة، ومن السهل أن تمدّ يدك إلى الإعداد الخطأ. في هذه السلسلة أشرح ما تفعله كل آلية ومتى تُستخدم، ليكون الاختيار مقصودًا لا تخمينًا.
سواء كنت تحكم إغلاق org جديد أو تدقّق org قائمًا، فالهدف أن تفهم أي إعداد يحل أي مشكلة.
- Updated 2026-11-07
Salesforce Security Simplified: A Guide to Authentication, Authorization and Record Sharing (4.1) (in English)
What's changed since the video
- Permissions stay on profiles, but belong on permission sets
- Connected apps: new ones need Salesforce Support
- "New" in 2023
Read the full update
Still right
- The frame: Salesforce as a secure building. The front door decides who gets in, the offices are the apps, objects, fields and pages a person can use, and the file cabinets are the records.
- Two ways in: a person in a browser, and a client application through the APIs, both through authentication first.
- Where each layer is set in Setup: the profile and permission sets for the offices; the sharing settings, roles, public groups, teams, territories and rules for the file cabinets.
- Access to records comes from many places, and an architect needs to know where to look for each one.
What's changed
- Permissions stay on profiles, but belong on permission sets. The video says Salesforce is moving many of these settings from the profile onto permission sets. Salesforce had announced the retirement of permissions on profiles from Spring '26, then cancelled it "based on customer feedback and remaining feature gaps." It now recommends "a least-privilege model using profiles for baseline settings and permission sets for access control" (Permissions in Profiles Retirement Cancelled, Salesforce Help, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video names connected apps in App Manager for single sign-on and API access. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- "New" in 2023. The video calls the Pub/Sub API, restriction rules and scoping rules new. Not a platform change: they're established features now. The Sharing and Visibility course teaches restriction and scoping rules as set 6 of the ways to share.
Learn it in the free course: Sharing & Visibility Architect · Chapter 1 · Thinking Like a Security Architect · The Building, the Offices and the File Cabinets →Learn it in the free course: Data Architect · Chapter 12 · Data Security for Humans, Applications, and Agents · Security Is Decided in the Data Model →Watch on YouTube - Updated 2026-11-07
Mastering Salesforce Profiles and Permission Sets: Present and Future (4.2) (in English)
What's changed since the video
- The Spring '26 end of life was cancelled
- User permissions go on permission sets too
- Default layouts stay on the profile
Read the full update
Still right
- A user has one profile and can have many permission sets and permission set groups.
- The rule of thumb: something a user can have many of belongs on a permission set; something a user can only have one of stays on the profile.
- The profile keeps the door: session settings, password policies, login hours and login IP ranges are set there.
- Connected app access can be granted with permission sets.
- Keep profiles as light as you can, and build access up from permission sets, like building blocks.
What's changed
- The Spring '26 end of life was cancelled. The video says permissions on profiles would reach end of life around Spring '26. Salesforce announced that retirement, then cancelled it "based on customer feedback and remaining feature gaps." Profiles still support permissions, and Salesforce still recommends moving access to permission sets (Permissions in Profiles Retirement Cancelled, Salesforce Help, checked 2026-11-07).
- User permissions go on permission sets too. The video guesses that the administrative and general user permissions would stay on the profile. Salesforce now lists "User permissions (system and app)" with object permissions and field-level security as things to manage in permission sets (same page).
- Default layouts stay on the profile. The video wonders whether page layouts will lose support. Salesforce lists "Default record types and page layouts" as things to keep on the profile, with default assigned apps (same page).
Learn it in the free course: Sharing & Visibility Architect · Chapter 3 · Profiles, Permission Sets and Permission Set Groups · One of Something →Learn it in the free course: Sharing & Visibility Architect · Chapter 2 · The Front Door: Logging In to Salesforce · What Stays on the Profile, Health Check and Security Center →Learn it in the free course: Identity & Access Architect · Chapter 2 · The Front Door: Logging In to Salesforce · What Stays on the Profile, Health Check and Security Center →Watch on YouTube - Updated 2026-11-07
Salesforce Permission Sets and Permission Set Groups, A Guide and Demo (4.3) (in English)
What's changed since the video
- Permission sets can expire too
- Muting doesn't travel in change sets
Read the full update
Still right
- Start each user on a stripped-down profile, and give access through permission sets.
- Small permission sets, put together in permission set groups like building blocks, organized around what a group of users does.
- A muting permission set takes away permissions inside its group. A group has at most one, and it only affects the group's members.
- The group's combined permissions show what a member gets, muting included.
- Assignments can be given an expiration date, so access ends on its own.
What's changed
- Permission sets can expire too. The video shows the expiration date as something special to permission set groups. Today you can set it on assignments of permission sets and of permission set groups, once Permission Set & Permission Set Group Assignments with Expiration Dates is turned on in User Management Settings (Set Assignment Expiration Details for Users in Permission Sets and Permission Set Groups, Salesforce Help, checked 2026-11-07).
- Muting doesn't travel in change sets. Not in the video: Salesforce documented in December 2025 that "Muting permission sets are not currently supported in change sets." Deploy a group with a change set, and you set up its muting permission set again by hand in the target org (Muting Permission Sets Are Not Included in Salesforce Change Sets, Salesforce Help, published 2025-12-24, checked 2026-11-07).
- Updated 2026-11-07
Session Activation Required for Permission Sets and Permission Set Groups Explained and Demo (4.4) (in English)
What's changed since the video
- Use a flow, not anonymous Apex
- The trap: in an ordinary group, it's always on
Read the full update
Still right
- Session Activation Required makes a permission set or permission set group dormant: assigned to the user, but not active until something switches it on.
- Once switched on, it lasts for that session only. At the next login, the user is back to normal; the assignment stays, inactive.
- It suits access that should only be on in a moment or a place: near an asset, in a building, in the airplane.
What's changed
- Use a flow, not anonymous Apex. The demo switches the permission set on with a few lines of Apex run by hand, and says that isn't how you'd do it in a real solution. Flow Builder has an Activate Session-Based Permission Set action: "During runtime, the action checks who's running the flow," and when it finishes, the user has the access for the current session (Session-Based Permission Sets, Salesforce Help, checked 2026-11-07). The same page adds: "Session-based permission sets don't support asynchronous processes."
- The trap: in an ordinary group, it's always on. Not in the video: "If you include session-based permission sets in a permission set group, the permissions in them do not require session-based activation for users assigned to the group" (Permission Set Group Considerations, Salesforce Help, checked 2026-11-07). To keep a bundle dormant, make the group itself session-based.
- Updated 2026-11-07
Salesforce Field Level Security FLS Details and Strategies (4.5) (in English)
What's changed since the video
- One page for one field
Read the full update
Still right
- Give a sensitive field no access on the profiles, and grant it through a permission set to the people who need it: read for most, edit for the few.
- Field-level security works on every record the user can see. Which records those are is a separate question.
- Dynamic Forms can show a field only when a condition is met, about the record or about the user. That hides the field on the page; it doesn't secure it.
- A user with access to the field can still find its values another way: in a list view of their own, in reports and dashboards, and in global search.
- For a field that truly must stay hidden, don't grant field-level security; show the value with a Lightning web component that runs in system context, knowing that new and edit screens take more work.
What's changed
- One page for one field. Since Summer '26, you can check who can see a field without opening every profile and permission set: "review field-level security for a specific field in all profiles, permission sets, and permission set groups… in one place in the Field Access Summary in Object Manager" (Summer '26 release notes: Permissions, checked 2026-11-07).
Learn it in the free course: Sharing & Visibility Architect · Chapter 4 · Object and Field Security: What Users Can Touch · Layouts and Dynamic Forms →Learn it in the free course: Data Architect · Chapter 12 · Data Security for Humans, Applications, and Agents · Security Is Decided in the Data Model →Watch on YouTube - Updated 2026-11-07
Steve's 20 Ways of Sharing a Record in Salesforce (4.6) (in English)
What's changed since the video
- 25 ways in eight sets now
- Manual sharing is built into Lightning
- Manual shares can survive an owner change
- Code's shares on standard objects can have their own reason
- Enterprise Territory Management is now Sales Territories
- Criteria-based rules can't use formula fields
Read the full update
Still right
- Record access is the file cabinets: once a user has the object, sharing decides which records they see.
- Most sharing is kept in a share table beside the object, such as AccountShare, and you can query it.
- The first set: the org-wide default, granting access through the role hierarchy, and the owner. An owner low in a deep hierarchy shares upward a long way.
- Sharing rules, criteria-based and owner-based; manual sharing, teams and territories; View All and Modify All, which no sharing can hide a record from; code or a flow writing shares; implicit sharing; restriction and scoping rules; and the site users' own tools.
- Code's shares need two doors: on the record, and on the user.
- If no tool can protect the data, keep the record private and show it through a component that runs in system context, as a last resort.
What's changed
- 25 ways in eight sets now. Not a platform change: the course's map has grown since this video. Queues, external account hierarchies, Compliant Data Sharing, calendar sharing and data category visibility have their own numbers, and code is its own set. Sharing and Visibility chapter 5 is the 2026 map.
- Manual sharing is built into Lightning. The video says you need an AppExchange product for manual sharing. Not so: in Lightning Experience, you "Click Sharing on the record that you want to share" and choose the users, groups, roles or territories (Grant Access to Records with Manual Sharing in Lightning Experience, Salesforce Help, checked 2026-11-07). The manual sharing video, 4.11, says the same.
- Manual shares can survive an owner change. "By default, when ownership of a record is transferred, Salesforce deletes manual shares on the record." Since Winter '27, a setting in Sharing Settings, Keep manual shares when transferring records, keeps them (Keep Manual Shares When Transferring Records, Salesforce Help, checked 2026-11-07).
- Code's shares on standard objects can have their own reason. "For over a decade, standard objects didn't support custom row causes." Since October 2026 they do, so shares written by code on an account can survive an owner change too (Protect Apex Shares: Custom Row Causes on Standard Objects, Salesforce Developers blog, checked 2026-11-07).
- Enterprise Territory Management is now Sales Territories. The same feature, under its current name in Salesforce Help (Sales Territories Concepts, Salesforce Help, checked 2026-11-07).
- Criteria-based rules can't use formula fields. The video says a criteria-based sharing rule uses "a criteria or formula". The rule matches field values, and "you can’t use lookup fields, encrypted fields, formula fields, or fields whose values are derived from other fields on the record" (Sharing Rule Considerations, Salesforce Help, checked 2026-11-21).
Learn it in the free course: Sharing & Visibility Architect · Chapter 5 · Steve's 25 Ways to Share a Record: The Map · 25 Ways, in Eight Sets →Learn it in the free course: Data Architect · Chapter 12 · Data Security for Humans, Applications, and Agents · The Sharing Model Your Data Model Must Respect →Watch on YouTube - Updated 2026-11-07
Salesforce Sharing: OWD, Ownership, and Role Hierarchy (4.7) (in English)
What's changed since the video
- Role and group changes are recalculated in the background
- Parts of the demo are in Salesforce Classic
Read the full update
Still right
- Object access and record access are separate: a permission set can open the object, and the user still sees no records.
- The org-wide default sets the baseline: Public Read/Write, Public Read Only or Private, and Controlled by Parent for some standard objects. Start from the most restrictive you'll need, including for future site users.
- The owner can always see and edit their record.
- With Grant Access Using Hierarchies, everyone above the owner in the role hierarchy gets access too, all the way to the top.
- The demo still works as shown: make an object Private, build a director, a manager and a pilot role, change the owner to the pilot, and the pilot and the manager above them see the record.
What's changed
- Role and group changes are recalculated in the background. The demo waits for a sharing recalculation after changing the default. A Spring '26 release update, "Prepare your Apex code and flows for changed asynchronous sharing updates," moves the recalculation for role and group changes into the background, so "there might be a short delay before a user actually gets access to their new records." It's available from Spring '26 and "Salesforce plans to enforce this in Spring '27" (Jen's Top Spring '26 Features for Admins, Salesforce Admins blog, checked 2026-11-07). Moving a user into a role in a test or an automation may not open their records at once.
- Parts of the demo are in Salesforce Classic. Not a platform change: the roles and settings are the same in Lightning Experience.
Learn it in the free course: Sharing & Visibility Architect · Chapter 6 · Org-Wide Defaults, Ownership and the Role Hierarchy · Design It for Access, Not as an Org Chart →Learn it in the free course: Data Architect · Chapter 12 · Data Security for Humans, Applications, and Agents · The Sharing Model Your Data Model Must Respect →Watch on YouTube - Updated 2026-11-07
Salesforce Criteria Based Sharing Rules and Guest User Sharing Rules (4.8) (in English)
What's changed since the video
- Guest rules give Read Only, and nothing else does
- The course adds a warning for guest rules
Read the full update
Still right
- A criteria-based rule shares records on values in the record itself, never through a relationship: choose the criteria, the access level and the target.
- The target can be a public group, a role, or a role and its subordinates. Choose subordinates when the people below need to help work the records.
- Public groups can hold users, roles and other groups, so one group can stand for a whole region.
- Avoid hard-coded record IDs in rules: they differ between sandbox and production.
- After you save a rule, Salesforce recalculates and writes rows into the share table, which you can query.
- The limits: "You can define up to 300 total sharing rules for each object, including up to 50 criteria-based or guest user sharing rules" (Sharing Rules, Salesforce Help, checked 2026-11-07). One rule per state uses them up fast.
- If the value you need isn't on the record, add a field and keep it filled with an automation.
What's changed
- Guest rules give Read Only, and nothing else does. Not a platform change since the video, but worth saying plainly: "A guest user sharing rule is a special type of criteria-based sharing rule and the only way to grant record access to unauthenticated guest users. Guest user sharing rules can only grant Read Only access" (Create Guest User Sharing Rules, Salesforce Help, checked 2026-11-07).
- The course adds a warning for guest rules. Not a platform change: a guest rule makes records visible to anyone on the internet. The course warns against using one on accounts or contacts, and suggests an object built only for what the public may see.
- Updated 2026-11-07
Salesforce Owner Based Sharing Rules (4.9) (in English)
What's changed since the video
- Why 50 and 300: my reasoning, not Salesforce's
- Some users can't be in an owner-based rule
Read the full update
Still right
- An owner-based rule shares the records owned by one bucket of users with another bucket: a source, a target and an access level.
- Both the source and the target can be a public group, a role, or a role and its subordinates. A public group can hold other groups and roles, so one rule can reach wide.
- Where the target sits in the role hierarchy matters: include subordinates to open the records downward, leave them out to keep them at that level and above.
- The access level from the rule only works if the user's object permissions allow it too: both have to say edit.
- The question isn't how many people a rule reaches, but how many separate buckets you need. Each separate bucket is a rule, and an object has 300 in all.
What's changed
- Why 50 and 300: my reasoning, not Salesforce's. Not a platform change. In the video I say I believe criteria-based rules are limited to 50 because Salesforce has to watch every field the rules read, and owner-based rules allow more because it only has to watch the owner. That's my explanation; Salesforce documents the limits, not the reason.
- Some users can't be in an owner-based rule. Worth saying plainly: "High-volume community or site users, Chatter External, and Chatter Free users can't be included in owner-based sharing rules. You can share records owned by high-volume users in guest user or criteria-based sharing rules" (Sharing Rule Considerations, Salesforce Help, checked 2026-11-07).
- Updated 2026-11-07
Salesforce Sharing Using Enterprise Territory Management (4.10) (in English)
What's changed since the video
- Enterprise Territory Management is now Sales Territories
- Rules can run when an account is edited
Read the full update
Still right
- Territories assign accounts to territories, by geography or by anything else your rules can read, and the users in a territory get access to its accounts, with access to their opportunities and cases set alongside.
- A territory model has territory types and a hierarchy of territories, and account assignment rules put accounts in them.
- An org can have several models, but only one active at a time, so you can build and check a new model while the old one runs.
- An account can be in more than one territory, so a second, special set of territories driven by a field of your own can share accounts alongside the geographic ones.
- Territories add access on top of the other sharing; they're a tool for accounts first.
What's changed
- Enterprise Territory Management is now Sales Territories. The same feature, under its current name in Salesforce Help (Sales Territories Concepts, Salesforce Help, checked 2026-11-07).
- Rules can run when an account is edited. In the demo, changing a field doesn't move the account until the rules are run by hand. For an edit on the screen, add the checkbox "Evaluate this account against territory rules on save" to the account page layout; "The user can uncheck" it, "and territory assignment rules will not be run" (Run territory assignment rules when you edit an Account, Salesforce knowledge article 000385116, published 2026-06-03, checked 2026-11-07). For changes made by automation or a load, plan a way to run the rules again, as the video says.
- Updated 2026-11-07
Salesforce Manual Sharing, Account Team, Opportunity Team, and Case Team (4.11) (in English)
What's changed since the video
- Manual shares can survive an owner change
- Teams can be kept when the owner changes
Read the full update
Still right
- Manual sharing: the owner, someone above them in the hierarchy, a user with full access or an admin can share one record with someone else, with the Sharing button on the record.
- Account, opportunity and case teams each work a little differently. Account and opportunity teams can start from each user's default team; case teams are predefined teams you add to a case.
- A team member can be added by an automation, a flow or a few lines of code, and users still see and manage the team on the record's own screens.
What's changed
- Manual shares can survive an owner change. The video says every manual share is removed when the owner changes. That's still the default: "By default, when ownership of a record is transferred, Salesforce deletes manual shares on the record." Since Winter '27, the Keep manual shares when transferring records setting keeps them (Keep Manual Shares When Transferring Records, Salesforce Help, checked 2026-11-07).
- Teams can be kept when the owner changes. When you change an account's owner, "To keep account team members with an account when the owner changes, select Keep account team." It "only applies to team members added by a Salesforce admin, the account owner, or someone higher in the role hierarchy." Opportunity team members move only "when the Keep Opportunity Team option is selected" (Considerations for Changing a Record's Owner, Salesforce Help, checked 2026-11-07).
- Updated 2026-11-07
Salesforce Security Implicit Sharing Explained (4.12) (in English)
What's changed since the video
- Child access to cases and contacts isn't kept as a row
Read the full update
Still right
- Implicit sharing is access Salesforce gives on its own, between an account and its contacts, opportunities and cases, when they're Private and not Controlled by Parent.
- Parent implicit: a user who can see one of an account's children gets read-only access to the account, and loses it when they lose the child.
- Child implicit: the account's owner gets access to its contacts, opportunities and cases, at the level set on the owner's role.
- Site users: a portal or site user can see the contacts under their own account, and the contact on a case keeps read access to it after the case is reassigned.
- High-volume users, who don't use the share table, get their access through sharing sets, with read-only access to the parent account.
- Design with the implicit ways in mind, so you can predict the access Salesforce adds.
What's changed
- Child access to cases and contacts isn't kept as a row. The access is the same, but where you find it changed: "We no longer store implicit child share records between accounts and their child case and contact records. Instead, the system determines whether users can access child case and contact records when they try to access them." Released in Summer '23, it means "SOQL queries or Apex tests that query implicit child case and contact share records no longer return any results" (Enable Faster Account Sharing Recalculation by Not Storing Case and Contact Implicit Child Shares, Summer '23 release notes, checked 2026-11-07). Test that access as a user, not by counting rows.
- Updated 2026-11-07
Salesforce Security Programmatic Apex Sharing (4.13) (in English)
What's changed since the video
- Standard objects can have sharing reasons too
Read the full update
Still right
- When the decision about who sees a record depends on its parents, linked records or something about the user, and the rules can't express it, code or a flow can write the shares.
- A share record has the record (the parent), the user or group, the access level and the row cause. A group or a territory as the target lets people move in and out instead of the shares.
- The share table doesn't hold everything: not View All or Modify All, and high-volume site users don't use it. A detail record in a master-detail relationship has no share table of its own.
- Use a sharing reason of your own, so you can tell your code's shares from everything else. "Apex managed sharing is maintained when the record owner changes or is deactivated" (Understanding Sharing, Apex Developer Guide, Winter '27, checked 2026-11-07).
- On a custom object, the sharing reason is still created in Salesforce Classic: "Apex sharing reasons aren't available in Lightning Experience" (Sharing a Record Using Apex, Apex Developer Guide, Winter '27, checked 2026-11-07).
- Everything you take on: the rules' criteria and where they live, changes to records, changes to users, a recalculation when the rules change, and the first large load.
What's changed
- Standard objects can have sharing reasons too. The video's sharing reason is on a custom object. Since Winter '27 (API version 68.0), standard objects can have them as well: "For standard objects, create them using the Metadata API or Tooling API," not in Classic (Sharing a Record Using Apex, same page). Before that, code on a standard object could only use Manual, and those shares went on an owner change (video 4.16).
- Updated 2026-11-26
Salesforce Security Restriction Rules and Scoping Rules (4.14) (in English)
What's changed since the video
- More objects than in the video
- "New" in 2023
- Two things go straight past a restriction rule
- Master-detail: yes, on the detail object
- More objects for scoping rules too
Read the full update
Still right
- Restriction rules are strict, scoping rules are soft. A restriction rule is a final narrowing filter on top of all the sharing; a scoping rule sets what list views and reports show, and the user can switch it off.
- Each rule has a filter on the user, from a field or a permission, and a filter on the record.
- The limits: "up to two active restriction rules per object in Enterprise and Developer editions and up to five active restriction rules per object in Performance and Unlimited editions" (Restriction Rules, Salesforce Help, checked 2026-11-26).
- Only one rule should ever apply to a user: "If you create two active rules, and both rules apply to a given user, only one of the active rules is observed," and you don't choose which (same page).
- External objects can have restriction rules, on the OData and cross-org adapters, and Salesforce recommends turning off search for them.
- A soft-delete flag with a restriction rule can hide records from everyone except the admins.
What's changed
- More objects than in the video. The video lists custom objects, external objects, contracts, tasks and events. Today: "Restriction rules are available only for custom objects, external objects, quotes, contracts, events, tasks, time sheets, and time sheet entries" (Restriction Rules, same page). Still not accounts, cases or opportunities.
- "New" in 2023. Not a platform change: the video calls these new. They're established features now.
- Two things go straight past a restriction rule. Not in the video: "Restriction rules aren't applied for code executed in System Mode," and "Users with the View All Records or View All Data permissions can view all records regardless of restriction rules" (Restriction Rule Considerations, Salesforce Help, checked 2026-11-26).
- Master-detail: yes, on the detail object. At the end of the video I say I'd heard they may work on master-detail relationships and that I'd test it. A rule on the parent doesn't reach its children: "Creating a restriction rule for an object doesn't automatically restrict access to its child objects… To secure these child objects, you must use other sharing mechanisms" (Restriction Rule Considerations, Salesforce Help, checked 2026-11-26). But a restriction rule on a custom detail object itself, with the criteria on the child's own fields, does filter the children, which no other sharing tool can do for a detail object. Chapter 16, module 1 shows how, in "Where restriction rules shine."
- More objects for scoping rules too. The video lists custom objects, accounts and cases. Today scoping rules are available for custom objects, accounts, cases, contacts, events, leads, opportunities and tasks, in Performance, Unlimited and Developer editions, not Enterprise (Scoping Rules, Salesforce Help, checked 2026-11-26).
Learn it in the free course: Sharing & Visibility Architect · Chapter 5 · Steve's 25 Ways to Share a Record: The Map · Restriction and Scoping Rules →Learn it in the free course: Sharing & Visibility Architect · Chapter 16 · Taking Access Away: Restriction and Scoping Rules · Where a Restriction Rule Sits →Learn it in the free course: Sharing & Visibility Architect · Chapter 16 · Taking Access Away: Restriction and Scoping Rules · a Filter, Not a Lock →Watch on YouTube - Updated 2026-11-26
Salesforce Security: Sharing Sets and Share Groups (4.15) (in English)
What's changed since the video
- Which licenses are high-volume
- Some rules can still share their records
- The demo uses an older kind of site
Read the full update
Still right
- High-volume site users don't have roles and don't use the share table like other users, so most of the sharing map doesn't reach them.
- A sharing set brings records in: it gives site users access to records linked to their own account or contact.
- A share group takes records out: records owned by high-volume users can be shared with internal groups and roles, which they otherwise can't reach.
- The record you share needs a lookup to the account or the contact, and the site user still needs object access through their profile or permission sets.
- Grant that object access with permission sets, not the profile, as the video says.
What's changed
- Which licenses are high-volume. The video talks about Customer Community. Salesforce's list today: "High-volume users include the External Apps, Customer Community, High Volume Customer Portal, and Authenticated Website license types" (About High-Volume Community or Site Users, Salesforce Help, checked 2026-11-26).
- Some rules can still share their records. The video says criteria-based, owner-based and Apex rules don't apply to these users. They can't be a rule's target, and owner-based rules can't include them, but the records they own can be shared another way: "You can share records owned by high-volume users in guest user or criteria-based sharing rules" (Sharing Rule Considerations, Salesforce Help, checked 2026-11-26).
- The demo uses an older kind of site. Not a platform change: to keep the tabs simple, the video uses a tab-based site built on Visualforce. Sharing sets and share groups work the same in current Experience Cloud sites.
Learn it in the free course: Sharing & Visibility Architect · Chapter 5 · Steve's 25 Ways to Share a Record: The Map · Sharing Sets, Share Groups, Account Relationships →Learn it in the free course: Sharing & Visibility Architect · Chapter 15 · Sharing Sets, Share Groups and Data Sharing for High-Volume Users · Sending Their Records Out →Watch on YouTube - Updated 2026-11-07
Salesforce Security: Apex Sharing on Standard Objects lost on Owner Change (4.16) (in English)
What's changed since the video
- Standard objects can have their own sharing reasons now
- Manual shares can be kept
- The account team can be kept
Read the full update
Still right
- The question from a student in class: if code on a standard object has to use the Manual sharing reason, won't those shares be lost when the owner changes? The demo answers it with three users: an admin, one user who gets the share, and one who doesn't.
- By default, a manual share is deleted when the owner changes, and so is a share written by code with the Manual reason.
- Code can't write a share with another built-in reason, such as Team.
- On a custom object, a sharing reason of your own keeps code's shares through an owner change.
- Anyone using code to share standard objects has to plan for owner changes.
What's changed
- Standard objects can have their own sharing reasons now. The answer in the video was a trigger that puts the shares back. Salesforce's Developers blog, October 2026: "For over a decade, standard objects didn't support custom row causes," and now they do, rolling out to all orgs by the end of October 2026 (Protect Apex Shares: Custom Row Causes on Standard Objects, Salesforce Developers blog, checked 2026-11-07). For standard objects, you "create them using the Metadata API or Tooling API" (Sharing a Record Using Apex, Apex Developer Guide, Winter '27, checked 2026-11-07).
- Manual shares can be kept. Since Winter '27, the Keep manual shares when transferring records setting keeps them through an owner change (Keep Manual Shares When Transferring Records, Salesforce Help, checked 2026-11-07).
- The account team can be kept. In the demo, the team member added by code went too. When you change the owner, "select Keep account team" to keep it; that "only applies to team members added by a Salesforce admin, the account owner, or someone higher in the role hierarchy" (Considerations for Changing a Record's Owner, Salesforce Help, checked 2026-11-07).
- Updated 2026-11-07
Salesforce Security Apex Sharing on Account Using Territories as Targets (4.17) (in English)
What's changed since the video
- Surviving an owner change has a direct answer now
- Enterprise Territory Management is now Sales Territories
Read the full update
Still right
- A territory can be a bucket for sharing: a branch of special territories, outside the sales model, that code fills with accounts and users.
- Code puts an account in a territory with an object-territory association, and a user with a user-territory association, a few lines each.
- The users in the territory get access to its accounts, at the levels set on the territory, with the opportunities and cases that come with them.
- Because the account is in the territory, not shared with a person, the access stays when the account's owner changes: it works like a dynamic sharing rule.
- Territory allocations: "Allocations for each territory model include up to 1,000 territories. But if you require more, Salesforce Customer Support can increase your allocations depending on your Salesforce edition," and "Requests for more than 20,000 territories per model are subject to approval" (Allocations and Considerations for Territories, Salesforce Help, checked 2026-11-07).
What's changed
- Surviving an owner change has a direct answer now. This video looked for a way around video 4.16: code's shares on an account were deleted when the owner changed. Since October 2026, standard objects can have sharing reasons of their own, and shares written with one stay through an owner change (Protect Apex Shares: Custom Row Causes on Standard Objects, Salesforce Developers blog, checked 2026-11-07). Territory buckets are still worth using when people move in and out of the same groups of accounts, so the shares don't have to.
- Enterprise Territory Management is now Sales Territories. The same feature, under its current name in Salesforce Help (Sales Territories Concepts, Salesforce Help, checked 2026-11-07).
لا يُحمَّل الفيديو من YouTube إلا عند النقر عليه.