Sub topic 2
Profiles: one per user, the baseline of access
This chapter assumes you can move around Setup, know standard and custom objects and fields, and know what a user record is. It covers what a profile is and what it contains. Later chapters cover object permissions, field-level security, and permission sets in detail.
What a profile is
A profile is a named collection of settings and permissions. Every user has exactly one profile, set on the user record. The profile is the baseline of access. Permission sets, covered later, add to it.
Salesforce ships standard profiles such as Standard User and System Administrator. You can clone a standard profile into a custom profile and edit the clone. Most settings on standard profiles cannot be edited.
What a profile controls
A profile holds two kinds of settings. The first kind can also be granted through permission sets. The second kind lives only on the profile.
| Setting | Also in permission sets? |
|---|---|
| Object permissions (Create, Read, Edit, Delete, View All, Modify All) | Yes |
| Field-level security | Yes |
| System and user permissions | Yes |
| Custom permissions, app and tab visibility | Yes |
| Default app, page layout assignments, login hours, login IP ranges | No, profile only |
| Default record type | Profile only (available record types can also be added by permission sets) |
How a profile fits the access model
A user cannot be saved without a profile, and cannot have two. If two job roles need different settings from the profile-only list, they need different profiles. Otherwise they can share a profile and differ through permission sets.
Worked example
Suppose your org has sales reps and support agents. Both need to log in from the office network only, and both use the same app.
- In Setup, open Profiles and clone Standard User. Name the clone Internal Staff.
- Under Login IP Ranges, add your office range.
- Set the default app and the page layout assignments for the objects both teams use.
- Give the profile only the access every internal user needs.
- Assign it to both teams, then grant job-specific access with permission sets.
This gives you one profile to maintain instead of two near-identical copies.
Common errors
- Creating one profile per job title. This leads to dozens of nearly identical profiles that drift apart over time.
- Editing a standard profile and expecting the change to stick. Clone it first.
- Assuming a profile grants access to records. It grants object-level and field-level access only. Record access comes from sharing.
- Giving a profile broad permissions "because everyone needs it". Anything on a profile applies to every user who holds it, and a permission set can only add access, not remove it.
Exercise
A team needs a different default app and a different login IP range than the rest of your users. Can a permission set provide this, and what do you do instead?
Show answer
No. The default app and login IP ranges are profile-only settings. Create a separate profile for that team, for example by cloning the existing one, and set those values there. Keep object and field access in permission sets so the profiles stay few.