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
TLeahyTLeahy 

Custom object - Ownership based visibility for portal user?

My company has a custom object which we assign the ownership of to different portal users, based on who is working the record. The issue is, that any portal user can search and view any record of this object type. We cannot have that as there is sensitive, confidential information on them sometimes. Is there a way to have this object only visible to the portal user who is assigned ownership?

symplocus.sfdc1.3964345660816824E12symplocus.sfdc1.3964345660816824E12
TLeahy,

You can assign a cloned profile of the portal users who shouldn't view the records and uncheck the 'view all' and 'modify all'  under 'object permissions' which is located under profiles.