セキュリティアーキテクチャ
信頼を得るための仕組み:データが、見るべき人にだけ見えるようにすること。
Salesforce には、プロファイル、権限セット、項目レベルセキュリティ、共有ルールなど、さまざまなセキュリティ設定があり、間違ったものに手を伸ばしやすいのです。このシリーズでは、各仕組みが何をするのか、いつ使うべきかを順に説明し、選択が当て推量ではなく意図的なものになるようにします。
新しい組織をしっかり守るときも、既存の組織を監査するときも、どの設定がどの問題を解決するのかを理解することが目的です。
- 更新日 2026-11-07
Salesforce Security Simplified: A Guide to Authentication, Authorization and Record Sharing (4.1) (英語)
動画の公開後に変わったこと
- 権限はプロファイルに残りますが、本来は権限セットで付与するものです。
- 接続アプリケーション:新規作成にはSalesforceサポートが必要です。
- 2023年時点の「新機能」。
更新内容をすべて読む
今も正しいこと
- 枠組みは、Salesforceをセキュリティの効いたビルとして見ることです。正面玄関で誰が入れるかが決まります。オフィスは、人が使えるアプリ、オブジェクト、項目、ページです。そして書類キャビネットがレコードです。
- 入り方は2つあります。ブラウザから入る人と、API経由で入るクライアントアプリケーションです。どちらも、まず認証を通ります。
- それぞれのレイヤーを設定で決める場所:オフィスはプロファイルと権限セット。書類キャビネットは共有設定、ロール、公開グループ、チーム、テリトリー、各種ルールです。
- レコードへのアクセスはさまざまな場所から生まれます。アーキテクトは、それぞれをどこで確認すればよいかを知っておく必要があります。
変わったこと
- 権限はプロファイルに残りますが、本来は権限セットで付与するものです。 動画では、Salesforceがこうした設定の多くをプロファイルから権限セットへ移そうとしている、と話しています。Salesforceは、Spring '26からプロファイルの権限を廃止すると発表していましたが、その後「お客様からのフィードバックと、残っている機能面のギャップを踏まえて」取り下げました。現在は「ベースラインの設定にはプロファイルを、アクセス制御には権限セットを使う、最小権限のモデル」を推奨しています(プロファイルの権限の廃止は中止、Salesforce Help、2026-11-07確認)。
- 接続アプリケーション:新規作成にはSalesforceサポートが必要です。 動画では、シングルサインオンとAPIアクセスのために、アプリケーションマネージャーの接続アプリケーションを挙げています。Spring '26以降、新しい組織では接続アプリケーションの作成がデフォルトでオフになっており、作成するにはSalesforceサポートへの依頼が必要です。新しいやり方は外部クライアントアプリケーションです(Spring '26 以降、新しい接続アプリケーションは作成できなくなります、Salesforce Help、2026-11-07確認)。既存の接続アプリケーションは引き続き動作します。
- 2023年時点の「新機能」。 動画では、Pub/Sub API、制限ルール、範囲設定ルールを新機能と呼んでいます。プラットフォームが変わったわけではなく、今ではすっかり定着した機能だということです。Sharing and Visibilityコースでは、制限ルールと範囲設定ルールを、共有の方法のセット6として扱っています。
- 更新日 2026-11-07
Mastering Salesforce Profiles and Permission Sets: Present and Future (4.2) (英語)
動画の公開後に変わったこと
- The Spring '26 end of life was cancelled
- User permissions go on permission sets too
- Default layouts stay on the profile
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
無料コースで学ぶ: Sharing & Visibility Architect · 章 3 · Profiles, Permission Sets and Permission Set Groups · One of Something →無料コースで学ぶ: Sharing & Visibility Architect · 章 2 · The Front Door: Logging In to Salesforce · What Stays on the Profile, Health Check and Security Center →無料コースで学ぶ: Identity & Access Architect · 章 2 · The Front Door: Logging In to Salesforce · What Stays on the Profile, Health Check and Security Center →YouTubeで見る - 更新日 2026-11-07
Salesforce Permission Sets and Permission Set Groups, A Guide and Demo (4.3) (英語)
動画の公開後に変わったこと
- Permission sets can expire too
- Muting doesn't travel in change sets
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
- 更新日 2026-11-07
Session Activation Required for Permission Sets and Permission Set Groups Explained and Demo (4.4) (英語)
動画の公開後に変わったこと
- Use a flow, not anonymous Apex
- The trap: in an ordinary group, it's always on
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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.
- 更新日 2026-11-07
Salesforce Field Level Security FLS Details and Strategies (4.5) (英語)
動画の公開後に変わったこと
- 1つの項目を1ページで確認。
更新内容をすべて読む
今も正しいこと
- 機密性の高い項目は、プロファイルではアクセス権なしにしておきます。必要な人にだけ権限セットで付与しましょう。ほとんどの人には参照のみ、編集はごく一部の人だけです。
- 項目レベルセキュリティは、ユーザーが参照できるすべてのレコードに適用されます。それがどのレコードなのかは、また別の問題です。
- 動的フォームでは、レコードやユーザーに関する条件を満たしたときだけ項目を表示できます。これはページ上で項目を隠すだけで、保護はしません。
- その項目へのアクセス権を持つユーザーは、別の方法で値を見つけられます。自分で作ったリストビュー、レポートやダッシュボード、グローバル検索などです。
- 本当に隠しておくべき項目には、項目レベルセキュリティを付与しないでください。代わりに、システムコンテキストで動く Lightning Web コンポーネントで値を表示します。ただし、新規作成画面や編集画面では手間が増えることは覚悟しておきましょう。
変わったこと
- 1つの項目を1ページで確認。 Summer '26 から、すべてのプロファイルと権限セットを開かなくても、誰がその項目を参照できるかを確認できるようになりました。「特定の項目の項目レベルセキュリティを、すべてのプロファイル、権限セット、権限セットグループにわたって……オブジェクトマネージャーの Field Access Summary の1か所で確認できる」とあります(Summer '26 リリースノート:権限、2026-11-07 確認)。
- 更新日 2026-11-07
Steve's 20 Ways of Sharing a Record in Salesforce (4.6) (英語)
動画の公開後に変わったこと
- 今は8つのセットに25の方法があります。
- 手動共有はLightningに標準で組み込まれています。
- 手動共有は、所有者が変わっても残せるようになりました。
- 標準オブジェクトでも、コードで作る共有に独自の理由を持たせられます。
- Enterprise Territory Managementは、現在Sales Territoriesという名前です。
- 条件ベースの共有ルールでは数式項目を使えません。
更新内容をすべて読む
今も正しいこと
- レコードアクセスは書類キャビネットです。ユーザーがオブジェクトにアクセスできるようになったら、どのレコードが見えるかは共有で決まります。
- 共有の大半は、AccountShareのようにオブジェクトの横にある共有テーブルに保存されています。これはクエリで確認できます。
- 最初のセットは、組織の共有設定、ロール階層によるアクセス許可、そして所有者です。深い階層の下のほうにいる所有者のレコードは、上に向かってかなり広く共有されます。
- 共有ルール(条件ベースと所有者ベース)、手動共有、チームとテリトリー、どんな共有でもレコードを隠せない「すべて表示」と「すべて変更」、コードやフローによる共有の書き込み、暗黙的な共有、制限ルールとスコープルール、そしてサイトユーザー向けの専用の仕組みです。
- コードで作る共有には、2つの扉が必要です。レコード側の扉と、ユーザー側の扉です。
- データを守れる仕組みがどれもない場合は、最後の手段として、レコードを非公開にしたまま、システムコンテキストで動くコンポーネントを通して表示します。
変わったこと
- 今は8つのセットに25の方法があります。 プラットフォームが変わったのではありません。この動画のあとで、コースの地図が広がったのです。キュー、外部取引先階層、Compliant Data Sharing、カレンダーの共有、データカテゴリの表示にそれぞれ番号が付き、コードは独立したセットになりました。2026年版の地図は、Sharing and Visibilityの第5章にあります。
- 手動共有はLightningに標準で組み込まれています。 動画では、手動共有にはAppExchange製品が必要だと言っています。これは誤りです。Lightning Experienceでは「共有するレコードで [共有] をクリック」し、ユーザー、グループ、ロール、テリトリーを選びます(Lightning Experienceで手動共有を使用してレコードへのアクセス権を付与する、Salesforceヘルプ、2026-11-07確認)。手動共有の動画4.11でも同じことを説明しています。
- 手動共有は、所有者が変わっても残せるようになりました。 「デフォルトでは、レコードの所有権が移行されると、Salesforceはそのレコードの手動共有を削除します。」Winter '27からは、共有設定にある「Keep manual shares when transferring records」という設定で、手動共有を残せます(Keep Manual Shares When Transferring Records、Salesforceヘルプ、2026-11-07確認)。
- 標準オブジェクトでも、コードで作る共有に独自の理由を持たせられます。 「10年以上にわたり、標準オブジェクトはカスタムの行の理由(row cause)に対応していませんでした。」2026年10月から対応したので、取引先でコードが書いた共有も、所有者の変更後に残せます(Protect Apex Shares: Custom Row Causes on Standard Objects、Salesforce Developersブログ、2026-11-07確認)。
- Enterprise Territory Managementは、現在Sales Territoriesという名前です。 機能は同じで、Salesforceヘルプでは現在の名前で載っています(Sales Territoriesの概念、Salesforceヘルプ、2026-11-07確認)。
- 条件ベースの共有ルールでは数式項目を使えません。 動画では、条件ベースの共有ルールは「条件または数式」を使うと言っています。実際には、ルールは項目の値で一致を判定し、「参照項目、暗号化項目、数式項目、またはレコードの他の項目から値が導出される項目は使用できません」(共有ルールの考慮事項、Salesforceヘルプ、2026-11-21確認)。
- 更新日 2026-11-07
Salesforce Sharing: OWD, Ownership, and Role Hierarchy (4.7) (英語)
動画の公開後に変わったこと
- ロールとグループの変更は、バックグラウンドで再計算されるようになりました。
- デモの一部は Salesforce Classic で撮っています。
更新内容をすべて読む
今も正しいこと
- オブジェクトへのアクセスとレコードへのアクセスは別物です。権限セットでオブジェクトを開けても、そのユーザーにはレコードが1件も見えないことがあります。
- 組織の共有設定が基本線を決めます。選べるのは公開/参照・更新可能、公開/参照のみ、非公開で、一部の標準オブジェクトには親レコードに連動もあります。将来のサイトユーザーも含めて、必要になる中で最も厳しいレベルから始めてください。
- 所有者は、自分のレコードを常に参照・編集できます。
- 「階層を使用したアクセス許可」がオンなら、ロール階層で所有者より上にいる人も全員アクセスできます。いちばん上までずっとです。
- デモは今も動画のとおりに動きます。オブジェクトを非公開にし、ディレクター、マネージャー、パイロットのロールを作り、所有者をパイロットに変えます。すると、パイロットとその上のマネージャーにレコードが見えます。
変わったこと
- ロールとグループの変更は、バックグラウンドで再計算されるようになりました。 デモでは、既定値を変えた後に共有の再計算を待っています。Spring '26 のリリース更新「Prepare your Apex code and flows for changed asynchronous sharing updates」で、ロールとグループの変更に伴う再計算がバックグラウンドに移ります。そのため、「ユーザーが新しいレコードに実際にアクセスできるようになるまで、少し時間がかかる場合があります」。この更新は Spring '26 から利用でき、「Salesforce は Spring '27 での適用を予定しています」(Jen's Top Spring '26 Features for Admins、Salesforce Admins ブログ、2026-11-07 確認)。テストや自動化でユーザーをロールに割り当てても、そのユーザーのレコードがすぐには開かない可能性があります。
- デモの一部は Salesforce Classic で撮っています。 プラットフォームの変更ではありません。ロールも設定も、Lightning Experience で同じです。
- 更新日 2026-11-07
Salesforce Criteria Based Sharing Rules and Guest User Sharing Rules (4.8) (英語)
動画の公開後に変わったこと
- Guest rules give Read Only, and nothing else does
- The course adds a warning for guest rules
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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.
- 更新日 2026-11-07
Salesforce Owner Based Sharing Rules (4.9) (英語)
動画の公開後に変わったこと
- Why 50 and 300: my reasoning, not Salesforce's
- Some users can't be in an owner-based rule
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
- 更新日 2026-11-07
Salesforce Sharing Using Enterprise Territory Management (4.10) (英語)
動画の公開後に変わったこと
- Enterprise Territory Management is now Sales Territories
- Rules can run when an account is edited
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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.
- 更新日 2026-11-07
Salesforce Manual Sharing, Account Team, Opportunity Team, and Case Team (4.11) (英語)
動画の公開後に変わったこと
- Manual shares can survive an owner change
- Teams can be kept when the owner changes
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
- 更新日 2026-11-07
Salesforce Security Implicit Sharing Explained (4.12) (英語)
動画の公開後に変わったこと
- Child access to cases and contacts isn't kept as a row
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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.
- 更新日 2026-11-07
Salesforce Security Programmatic Apex Sharing (4.13) (英語)
動画の公開後に変わったこと
- Standard objects can have sharing reasons too
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
- 更新日 2026-11-26
Salesforce Security Restriction Rules and Scoping Rules (4.14) (英語)
動画の公開後に変わったこと
- 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
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
無料コースで学ぶ: Sharing & Visibility Architect · 章 5 · Steve's 25 Ways to Share a Record: The Map · Restriction and Scoping Rules →無料コースで学ぶ: Sharing & Visibility Architect · 章 16 · Taking Access Away: Restriction and Scoping Rules · Where a Restriction Rule Sits →無料コースで学ぶ: Sharing & Visibility Architect · 章 16 · Taking Access Away: Restriction and Scoping Rules · a Filter, Not a Lock →YouTubeで見る - 更新日 2026-11-26
Salesforce Security: Sharing Sets and Share Groups (4.15) (英語)
動画の公開後に変わったこと
- Which licenses are high-volume
- Some rules can still share their records
- The demo uses an older kind of site
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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.
無料コースで学ぶ: Sharing & Visibility Architect · 章 5 · Steve's 25 Ways to Share a Record: The Map · Sharing Sets, Share Groups, Account Relationships →無料コースで学ぶ: Sharing & Visibility Architect · 章 15 · Sharing Sets, Share Groups and Data Sharing for High-Volume Users · Sending Their Records Out →YouTubeで見る - 更新日 2026-11-07
Salesforce Security: Apex Sharing on Standard Objects lost on Owner Change (4.16) (英語)
動画の公開後に変わったこと
- Standard objects can have their own sharing reasons now
- Manual shares can be kept
- The account team can be kept
更新内容をすべて読む
今も正しいこと
- 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.
変わったこと
- 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).
- 更新日 2026-11-07
Salesforce Security Apex Sharing on Account Using Territories as Targets (4.17) (英語)
動画の公開後に変わったこと
- Surviving an owner change has a direct answer now
- Enterprise Territory Management is now Sales Territories
更新内容をすべて読む
今も正しいこと
- 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).
変わったこと
- 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 から読み込まれます。