Přeskočit na obsah

Study guide

Tento obsah zatím není dostupný ve vašem jazyce.

Study guide for chapter 14 of the Securing Salesforce: Sharing and Visibility course. Read the eight modules first; this page helps you check what stuck.

About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.

This chapter teaches two objectives. Sharing with external users is in the exam section Access to Records, the biggest section at 39% of the exam. The license limitations that affect sharing are in Implications of Security Model Choice, at 18%; chapter 3 started them. Chapter 15 finishes external users with sharing sets and share groups. The exam guide aligns to Winter ‘23, and several of the settings here have changed or arrived since then, so those are in their own list at the end. Know both, and know which date each belongs to.

Tick them off as you go. Each one links to where it’s taught.

Who’s outside (supports REC-8)

  • I know the difference between Salesforce Sites, public Visualforce pages with no login, and Experience Cloud sites, which can be public or logged in. (Two ways in)
  • I know each site has its own guest user profile and guest user record, shared by every visitor, hidden from the profile list, with the most restrictive defaults. (The guest)
  • I know the three kinds of outsider and what reaches each: guests (guest user sharing rules, Read Only), high-volume users with no role (sharing sets and share groups), and users with roles (most of the 25 ways, plus external roles, super users and external account hierarchies). (Three kinds of outsider)

The guest user (supports REC-8)

  • I know a guest sees a record only through both locks: the profile, and a guest user sharing rule. (Two locks, again)
  • I know guests get only read and create object permissions, and never View All, Modify All, update or delete. (Objects and fields)
  • I know to turn off View All Users, Run Flows and API Enabled on the guest profile unless the site needs them. (System permissions)
  • I know an @AuraEnabled method a guest can call should be in a with sharing class. (Pages and code)

The seats (supports IMP-2)

  • I know the minimum license for a requirement: reports, roles, standard sharing and delegated administration first come with Customer Community Plus; leads, opportunities and campaigns with Partner Community. (The minimum-seat questions)
  • I know the users per org: 100+ million for Customer Community, 1+ million for the seats with roles, 10+ million with account role optimization. (How many people fit)
  • I know member-based and login-based licenses, and which costs less for people who come often or rarely. (Two ways to pay)
  • I know an upgrade to a license with a role can’t be reversed, and that Customer Community Plus and Partner Community don’t carry View All Records or Modify All Records. (Changing seats later)

External org-wide defaults (supports REC-8)

  • I know the external default is one setting for every outside company, can’t be more open than the internal default, and that Salesforce recommends Private. (One setting)
  • I know guests aren’t external users for this setting; their default is always Private. (Who counts as outside)
  • I know an object’s external default must be Private for external users to see it in reports. (The report rule)
  • I know the outside group member types: Customer Portal Users and Partner Users (everyone, every company) against Portal Roles and Portal Roles and Subordinates (one account). (Opening it back up)

External roles (supports REC-8, IMP-2)

  • I know external roles are created under the account owner’s role, that the owner must have a role, and that each account gets one to three roles named after it. (Where the roles go)
  • I know records roll up inside each company and then into yours, never across. (Records roll up)
  • I know account role optimization gives single-user accounts a shared person role, and that sharing with that role reaches every account on it. (Account role optimization, the catch)

Super users and delegated administration (supports REC-8)

  • I know a partner super user sees partner users in the same role and below, only for cases, leads, opportunities and custom objects, within their own permissions, after Enable Partner Super User Access is on. (Partner super users)
  • I know Portal Super User is for Customer Community Plus: the account’s cases and contacts, but not managing other users. (Customer super users)
  • I know the Delegated External User Administrator permission adds and manages coworkers, limited to the profiles and permission sets you list, and turns Portal Super User on without turning it off. (Delegated administration)

External account hierarchies (supports REC-8)

  • I know records owned at a child account roll up to the highest role at each parent level, for Partner and Customer Community Plus orgs. (How the records roll up)
  • I know the limits: five levels, business accounts of one kind, not with account role optimization, the internal owner of a child account loses access, and the setting can’t be turned off. (The limits)
  • I know sharing set data doesn’t roll up, and sharing rules do. (How the records roll up)

What site users see of other people (supports REC-8)

  • I know site user visibility settings work only when the User object’s external default is Private. (Who can find whom)
  • I know Portal User Visibility shows users at the same account, Site User Visibility shows members of the same site, and each site has checkboxes for members and for guests. (Who can find whom)
  • I know manual sharing, sharing rules and View All Users still reveal users. (Who can find whom)

What changed since the exam’s Winter ‘23 alignment (dated, beyond the exam today)

  • I know orgs created in Spring ‘20 or later start every external default at Private, and the external sharing model can’t be disabled. (Is it on)
  • I know Enhanced Personal Information Management hides personal fields from other outside users, and from guests even their own, through two field sets, and can’t be turned off; and that it isn’t enforced in Apex or system mode. (What they see)
  • I know that in older orgs, Roles and Subordinates became Roles, Internal and Portal Subordinates, and the Convert External User Access Wizard converts sharing rules and folders back. (What older settings still share)

The exam is the floor, not the ceiling. These are the habits from this chapter that an architect needs, whether or not a question ever asks about them.

  • Decide the license before the sharing, and buy the minimum seat a real requirement needs.
  • Test every public site as the guest, in a private window, not logged in.
  • Audit the Default External Access column in any older org, object by object.
  • Never write “all partner users” in a rule where one account’s roles will do.
  • Never share with a shared person role. Share with the user or a group.
  • Take super user access away yourself when delegated administration goes.
  • Tell the internal owners of child accounts before an external account hierarchy goes live.
  • Read what the agent can find, user records included, before an agent goes on a site.
TermIn one line
Experience Cloud siteA site built with Experience Builder, public or logged in, once a portal or community
Guest userThe one user per public site that every unauthenticated visitor shares
High-volume userAn outside user with no role, reached by sharing sets and share groups
Member-based / login-based licensePaid per named user, or per monthly logins
External org-wide defaultThe default for outside users, never more open than the internal one
External rolesOne to three roles per outside account, under the account owner’s role
Account role optimizationSingle-user accounts share one shared person role instead of their own roles
Partner super userA partner user who sees others in the same role and below, for four kinds of record
Portal Super UserA Customer Community Plus permission for the account’s cases and contacts
Delegated External User AdministratorA permission to add and manage coworkers, limited to the profiles and permission sets you list
External account hierarchyA separate hierarchy of accounts that shares child records upward
Portal / Site User VisibilitySettings that let outside users see users at their account, or members of their site
Enhanced Personal Information ManagementHides personal user fields from other outside users and guests

Short scenarios in the style of the course. Decide your answer before you open it.

1. Customers must open cases and run reports on them. What's the minimum license?

Customer Community Plus. Reports first come with it, along with roles and standard sharing. Reread The minimum-seat questions.

2. A public site shows product information. A security review finds the guest profile has update permission on a custom object. What do you do?

Remove it. Guests can have only read and create object permissions, and never update or delete. Then check the guest’s permission sets too. Reread Objects and fields.

3. Accounts have an external default of Public Read Only, and partners say they can't report on accounts. Why?

An object’s external default must be Private for external users to see it in reports. And Public Read Only also shows every partner every other company’s accounts. Reread The report rule.

4. A sharing rule shares a price list object with "Partner Users." The business meant one partner. What went wrong?

Partner Users means every partner user at every company. Use the Portal Roles or Portal Roles and Subordinates of that one account instead. Reread Opening it back up.

5. With account role optimization on, an admin shares a custom object with one customer's role, and other customers see the records. Why?

That customer had one role-based user, so they were on the shared person role, which many accounts share. Share with the user or a public group instead. Reread The catch.

6. Two partner users in the same Partner User role at one company can't see each other's opportunities. How do you open them, and only inside that company?

Make one of them a partner super user, after turning on Enable Partner Super User Access. It reaches the same role and below, inside their own company. Reread Partner super users.

7. A customer's first site user has Portal Super User, but can't add their coworkers. Why?

Portal Super User gives the account’s cases and contacts, not managing other users. That’s the Delegated External User Administrator permission, with the profiles they may assign listed. Reread Delegated administration.

8. A customer's head office must see what its regional offices own. The org uses account role optimization. Can you use an external account hierarchy?

No. External account hierarchies are incompatible with account role optimization. Pick another tool for the shape, such as sharing rules to the head office’s roles, and remember the hierarchy setting can’t be turned off once on. Reread The limits and Which tool for which shape.

9. Site User Visibility and Portal User Visibility are both off, but site users can still see every other user. What do you check first?

The User object’s external default. If it’s Public Read Only, everyone sees everyone and the visibility settings do nothing. Then check View All Users on their profiles, and user sharing rules. Reread Who can find whom.

10. A flow that runs in system mode sends site users an email with another user's phone number, though the profile page hides it. Why?

Personal information settings aren’t enforced in system mode, or in Apex. The flow has to leave the field out itself. Reread Where it doesn’t reach.

The official list of objectives and their weights. Always check the current version before you book an exam.