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
Nandhini s 11Nandhini s 11 

View all/Modify all object permission in profile

Hi Guys,
Does View/Modify all permission allow users to access records owned by the users in the same profile or can they access all the records in the object irrespective of the owner?
Raj VakatiRaj Vakati

Users with View All permission can view all the data, even if the data are not shared with them.  Users can view all records associated with this object, regardless of sharing settings. 

Users with Modify  All permission can Modify  all the data, even if the data are not shared with them.  Users can read, edit, delete, transfer, and approve all records associated with this object, regardless of sharing settings.


https://help.salesforce.com/articleView?id=users_profiles_view_all_mod_all.htm&type=5
https://help.salesforce.com/articleView?id=users_profiles_object_perms.htm&type=5



 
Nandhini s 11Nandhini s 11
Hi Raj,
Thanks for replying. I have one more question.
How can i restrict users from accessing records owned by users in a different profile?
 
Raj VakatiRaj Vakati
I dnt think so you can able to restrict based on the profile .. to fix this you need to override the view access with the VF page.. if others are accesing the record own by different VF page thrown an error