I need to remove "Change Owner" button for list view of a custom object for some specific profiles (and not all profiles). I tried the solution here, https://salesforce.stackexchange.com/questions/298187/how-can-i-remove-change-owner-button-from-a-list-view-in-salesforce
but in lightning, the edit button doesn't show. and the classic solution takes it away for all profiles.
Any suggestions.
2 answers
Hi Aryan Sharma,
To remove the
“Change Owner” button from the list view of a custom object for specific profiles:- Go to Setup → Profiles.
- Select the Profile you want to modify.
- Under System Permissions, uncheck Transfer Record and Modify All Data.
- Scroll to Object Settings → [Your Custom Object] → Edit, and uncheck Modify All.
- Save the changes.
Additionally, check any Permission Sets assigned to the user. Ensure they don't have Transfer Record or Modify All permissions.
If the user owns the record, Salesforce will still show "Change Owner" regardless of permissions. only the record owner but not the other profile user records.