Security & access
- The four layers
- Org (who can log in, when and from where: password policies, trusted IP ranges, plus login hours and IP ranges on each profile) → Object (create, read, edit, delete) → Field (field-level security) → Record (sharing).
- Profile
- Every user has exactly one. Sets their baseline permissions, so keep profiles minimal.
- Permission set
- Adds permissions on top of the profile. A user can have many. Group them into a permission set group per job role.
- Org-wide defaults
- The baseline record access for each object, usually Private, Public Read Only or Public Read/Write (detail objects use Controlled by Parent). Set it to the most restrictive level anyone needs.
- Role hierarchy
- Managers see their team's records. Access rolls upward, never down. For custom objects it can be switched off ("Grant Access Using Hierarchies").
- Sharing rules
- Open access sideways, by record owner or by criteria, to roles, groups or territories.
- Manual sharing
- The owner, someone above them in the hierarchy, or an admin shares one record with a user or group. Only available when the org-wide default is stricter than Public Read/Write.
Rule of thumb: org-wide defaults lock records down; roles, sharing rules and manual sharing only open access up from there. (Restriction rules are the one tool that narrows what users see.)