Loading

Some Users can edit fields set as 'Read-Only' in field level security and page layout

Publiseringsdato: Jul 31, 2024
Beskrivelse

Users are able to edit fields which are 'Read Only' as per Field Level Security or on the Page layout. This behavior is seen if the Profile associated with the User has 'Edit Read Only Fields' selected.

Note: Not all profiles have the Read Only Fields option.  For example, the Salesforce License Type will have the 'Edit Read Only Fields' option under System Permissions while the Experience Cloud User licenses will not.

Løsning

Remove the 'Edit Read-Only Fields' permission via profile.

Salesforce Classic:
1. Click on Setup | Manage Users | Profiles
2. Open the Profile for which the permission will be removed
3. Navigate to Profile | System permission
4. Deselect the option 'Edit Read Only Fields'
5. Save


Lightning Experience:
1. Click on Setup | Administration | Users | Profiles
2. Open the Profile for which the permission will be removed
3. Navigate to Profile | System Permissions
4. Deselect the option 'Edit Read Only Fields'
5. Save


Remove permission 'Edit Read-Only Fields' added to user via Permission Set. 

Salesforce Classic:
1. Click on Setup | Manage Users | Permission Sets
2. Open the Permission Set that has the 'Edit Read-Only Fields' added in it
3. Go to System permission
4. Deselect the option 'Edit Read Only Fields'
5. Save

Lightning Experience: 
1. Click on Setup | Administration | Users | Permission Sets
2. Open the Permission Set that has the 'Edit Read-Only Fields' added in it
3. Go to System permission
4. Deselect the option 'Edit Read Only Fields'
5. Save


Remove the permission set.

Salesforce Classic:
1. Click on Setup | Manage Users | User
2. Open the user record and navigate to 'Permission Set Assignments' section
3. Open the Permission Set assigned and go to System permission
4. Deselect the option 'Edit Read Only Fields'
5. Save

Lightning Experience:
1. Click on Setup | Administration | Users | Users
2. Open the user record and navigate to 'Permission Set Assignments' section
3. Open the Permission Set assigned and go to System permission
4. Deselect the option 'Edit Read Only Fields'
5. Save
 

This will remove the permission to edit read only fields

Note: Not all read only fields are editable. System fields like 'modified date' and 'formula field' are still not editable, even with this permission.

Knowledge-artikkelnummer

000387091

 
Laster
Salesforce Help | Article