function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suji srinivasansuji srinivasan 

Hi, I need to restrict edit access to all users in a org And provide read access only to record owner

All users have create,read,edit,delete access. I need to modify it by providing  read access alone  to all users. Only record owner should have edit access.How to achieve it?

Thanks in advance
VinayVinay (Salesforce Developers) 
Hi Suji,

Set OWD on object to public read only on sharing settings.

https://trailhead.salesforce.com/content/learn/modules/data_security/data_security_records?trailmix_creator_id=strailhead&trailmix_slug=prepare-for-your-salesforce-administrator-credential

Please mark as Best Answer if above information was helpful.

Thanks,