Sub topic 1
How Salesforce Decides What a User Can Do and See
Prerequisites
This chapter assumes you know basic Salesforce Setup navigation, standard and custom objects, fields, user records, and the basic idea of record sharing.
How Salesforce decides what a user can do and see
Salesforce evaluates several layers of access. A profile provides each user’s baseline. Permission sets can add permissions later. Record sharing determines which individual records a user can access after the user has object permission.
Object permissions answer, “Can this user work with Account records?” Sharing answers, “Which Account records can this user work with?” These are separate checks.
Profiles: one per user, the baseline of access
Every user has exactly one profile. The profile supplies default access and several settings, such as login restrictions, assigned apps, tab visibility, record types, and page layouts.
Profiles can grant object, field, system, and user permissions. Treat the profile as the minimum baseline required by the user’s license and role. Use permission sets for additional job-based access rather than creating many nearly identical profiles.
Object permissions: Create, Read, Edit, Delete, View All, Modify All
Object permissions control actions on an object:
| Permission | Meaning |
|---|---|
| Create | Add records |
| Read | View records the user can access |
| Edit | Change records the user can access |
| Delete | Delete records |
| View All | View every record for the object |
| Modify All | View, edit, delete, and otherwise manage every record |
Create, Read, Edit, and Delete are often called CRUD. View All and Modify All bypass normal record-sharing limits for that object. They should be granted carefully.
Field-level security: Read and Edit on individual fields
Field-level security (FLS) controls whether a user can see or change a field. A user might have Read access to Account but lack Read access to Annual Revenue. FLS can also make a visible field read-only by granting Read without Edit.
FLS applies in addition to page layouts. Page layouts affect the user interface, while FLS is a stronger security control that also applies through supported APIs.
System and user permissions
System permissions control capabilities beyond one object, such as exporting reports, managing users, or viewing Setup. User permissions affect specific user actions or features. Review these permissions separately from CRUD and FLS because they can grant broad administrative power.
Exercise
A user can read Account records but cannot see Annual Revenue. Which layer should you inspect first?
Show answer
Inspect field-level security for Account.AnnualRevenue, then confirm that the field is included on the relevant page layout.