Object and field access

Profiles, permission sets, groups and muting, licenses, object permissions and field-level security: what decides access to an object or a field.

A user sees a field they should not see, or cannot find an object they need. What decides that, and why is changing the page layout almost never the answer?

What this page decides and what the other one decides

Help splits data access into three levels: object, field and record. The first two are decided with profiles, permission sets and permission set groups; the third, with the organization-wide defaults, roles and sharing rules.

This page covers the first two: which objects exist for a user and which fields they see in them. Who sees each individual record is the business of the Record access page in this subcategory. Help warns that the two are easy to confuse: profiles and permission sets control object and field permissions; roles control record-level access.

Profiles and permission sets

A profile defines a user’s default settings; every user has exactly one, and every profile belongs to a single user license type.

A permission set is a collection of settings and permissions that give access to tools and functions. It extends functional access without touching the profile, and a user can have several: it is the way Help recommends, and the recommendation is concrete — assign the Minimum Access - Salesforce profile, or a clone of it, and grant everything else with permission sets grouped by the task the user does, not by their job title.

What has to be understood before touching anything: these three tools grant access, they never deny it. If a permission is off in the profile but on in a permission set, the user has it. To take it away you have to remove every instance of it.

A user permission says what tasks a user can perform and which features they reach; an object permission, the base-level access to create, read, edit and delete records of an object; a field permission, whether they can view or edit a field.

Configured in the profile Configured in permission sets
Default apps and record types Object and field permissions
Page layout assignment User permissions (app and system)
Login hours Custom permissions and tab settings
Login IP ranges Apex classes, Visualforce pages, connected apps

Groups and muting

A permission set group bundles permission sets by job persona or role. Whoever is assigned it receives the combined permissions of all of them, and one permission set can sit in several groups: change it and the change propagates to all. The cap is 100 permission sets per group.

To remove something from a group without touching the permission sets that make it up there is the muting permission set: one per group, and it mutes object, field and user permissions and other access settings. Its reach is narrow: it only affects users assigned to that group. If the user has the same permission through their profile, through a directly assigned permission set or through another group, they still have it.

A group is not instantaneous. Adding, deleting or editing a custom permission set in it triggers a recalculation that is queued; for Salesforce-owned standard permission sets the calculation is daily. Until it finishes, users keep the permissions of the last completed calculation. The status says so: with Outdated user assignments cannot be modified, with Updating the group cannot be edited either, and with Failed the changes do not arrive. The recalculation runs asynchronously and can take from seconds to hours; the Recalculate button forces it.

The license is the ceiling

A permission set license entitles a user to features their user license does not include, and a user can be assigned any number of them. The Help sentence that orders everything above: a user’s assigned licenses define the maximum functionality available to them, and the admin uses permission sets to decide which subset each one has.

Hence the usual trap: to reach a license feature you need both things, the license and a permission set containing the feature permissions. Assign the permission without the license and the assignment errors. When the permission set is created against a specific license, whoever receives the set is auto-assigned the license; if it is left at --None--, the license has to be assigned by hand first. Assigning the license needs Manage Users; assigning the set, Assign Permission Sets.

Object permissions

Object permissions give the base-level access per object, split by a line that decides the whole design: some respect sharing and others override it.

Permission What it allows Sharing
Read Only view records of this type Respects it
Create Read and create records Respects it
Edit Read and update records Respects it
Delete Read, edit and delete records Respects it
View All Records View all records of the object, whatever the sharing settings Overrides it
Modify All Records Read, edit, delete, transfer and approve all records of the object Overrides it
View All Fields View all fields and field data in records of this type, whatever the assigned field permissions; needs at least Read on the object Respects it

Above the object sit the system permissions View All Data and Modify All Data, which override sharing on every object. Help splits the audience: Read, Create, Edit and Delete are for end users; View All Records and Modify All Records, for delegated data administrators.

Three limits matter in design. The four permissions that override sharing do not override field-level security: the user still needs the field permissions or View All Fields. View All Records and Modify All Records do not exist for ideas, price books, article types or products. And none of them can be assigned to external users.

Field-level security

Field-level security (FLS) decides whether a user can view or edit each field of an object. It has three levels: Read and Edit, Read, or none.

What makes it different from the page layout is its reach. The field permission restricts access on detail and edit pages, related lists, list views, reports, email templates, custom links, Experience Cloud sites and portals, synchronized data, imported data and the Salesforce APIs. The page layout only controls visibility on detail and edit pages. Help is blunt: no other setting protects a field as much.

That hiding it on the page layout therefore leaves it exposed in reports, list views and the API is this page’s reading of those two sentences, not a Help sentence.

Why hiding a field on the page layout is not protecting itField-level security, or field permissions, and the page layout do not have the same reach. Salesforce Help says that the page layout only controls the visibility of fields on detail and edit pages, and that field permissions restrict access also in related lists, list views, reports, Experience Cloud sites, imported data and the Salesforce APIs. From those two sentences this page infers, and marks it as its own reading, that a field removed only from the page layout is still reachable in reports, in list views and through the API. When the two settings disagree, Help says the more restrictive of the two always applies.Remove the fieldfrom the page layoutOnly affects detailand edit pagesRemove thefield permissionRestricts acrossthe app and the API

When the two disagree the more restrictive one wins: a field that is required on the page layout but read-only in field-level security stays read-only.

There are documented exceptions. Roll-up summary and formula fields are read-only and can be visible even though they reference fields the user cannot see. Universally required fields appear on edit pages whatever field-level security says. The Edit Read Only Fields permission allows editing read-only fields above any other setting. And in search, Help says there are fields that do not enforce field-level security and do return results; it does not enumerate them.

Configuring it needs Manage Profiles and Permission Sets and Customize Application.

Example: the wealth manager at a private bank

A private bank wants its wealth managers to view and edit their clients’ accounts, but wants total net worth visible only to risk. The case is invented; the order of the steps is this page’s proposal, not a Help sequence.

  1. Start from the minimum profile. Minimum Access - Salesforce is assigned to the managers; everything else will arrive through permission sets.
  2. One permission set per task. One with Read, Create and Edit on Account and Contact, and another with the field permissions the manager needs. No Delete, which drags Read and Edit along.
  3. One group per job persona. Both sets go into a “Wealth manager” group. If risk reuses the first one, there is no need to duplicate it.
  4. Mute, don’t clone. The field set includes Read on total net worth because risk needs it. In the manager’s group that permission is muted with a muting permission set: the original set is unchanged and risk keeps it.
  5. Check that nothing overrides it. If a manager has View All Fields on Account, or View All Data, they will see the field anyway; muting does not reach what arrives through their profile or through another group.

The example does not claim the field ends up hidden from everyone: step 5 exists because it does not.

Which tool for what

The criterion below is this page’s reasoning: Help recommends the minimum-profile-plus-permission-sets pattern, but publishes no decision table.

Situation What to use
Give a group of users access to an object or a field A permission set per task, never a new profile
Assign default app, page layout, login hours or IP ranges The profile: those settings live only there
Several job personas share tasks Reusable permission sets inside per-persona groups
Remove a permission from one persona without breaking the others A muting permission set in its group
An admin has to clean or transfer data in bulk View All Records or Modify All Records on the object, instead of View All Data
A sensitive field has to be hidden Field permissions: the page layout only reaches detail and edit pages
The access is needed for a few weeks only An assignment with an expiration date, if enabled in the org

Before production

  1. Check that every user starts from the most restrictive profile possible (see “Profiles and permission sets”).
  2. List the permissions to be withdrawn and the route each one arrives by: granting is cumulative (see “Profiles and permission sets”).
  3. Review who has the four permissions that override sharing (see “Object permissions”).
  4. Confirm that no sensitive field is protected by the page layout alone (see “Field-level security”).
  5. Check that every user with a feature permission also has its permission set license (see “The licence is the ceiling”).
  6. Look at the status of the groups before trusting an assignment, and do not edit one in Updating (see “Groups and muting”).
  7. Test with a real user of each job persona, and with an external one if there are any (see “Object permissions”).

Official sources

Back to the knowledge base