Print this page

All Junction Object Records Appear in List View

Knowledge Article Number 000212396
Description Junction Objects have primary and secondary Master Detail relationship.  If end user has "View All" permission to primary object, but not secondary object, end user can see all junction object records in list view, but cannot view junction object records directly.

Suppose we have custom junction object called “CC”. “BB” is primary Master object. “AA” is secondary Master object. "BB" has OWD as public. "AA" has OWD as private.  Please note the following expected behavior:

1.  End user has profile / permission set DOES NOT have "View All" access to "BB".  When end user clicks on "CC" tab to see list view, end user cannot see any records.  This is expected behavior since end user cannot see any junction object records unless end user has access to both "BB" and "AA" records.  This is working as designed. 

2.  End user has profile / permission set DOES have "View All" access to "BB".  When end user clicks on "CC" tab to see list view, end user can see all junction object records.  However, if end user tries to open any junction object record, end user sees “Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary."  This is working as designed.  

3.  End user has profile / permission set DOES have "View All" access to "BB" and "AA".  When end user clicks on "CC" tab to see list view, end user can see all junction object records and open/edit junction records.  This is working as designed.  
Resolution Please ensure end user's profile / permission set has the following:

1.  "View All" = checked to both primary and secondary object

OR

2.  "View All" = unchecked to both primary and secondary object


 




promote demote