You need to sign in to do that
Don't have an account?
Doug ACF
Respecting Sharing on Related Lists
It seems that the related lists rendered by <apex:detail> as well as <apex:relatedList> do not respect sharing rules. Is this expected behavior or am I missing something?
Can you post a snippet of your vf page and controller class? Are you using standard controller? Or extensions/custom controller?
I'm first trying to sort it out with a super simple page - just a standard controller with no extensions
<apex:page standardController="Account"> <apex:detail/> </apex:page>
So this is really just a mirror of the standard account detail page, except that on the regular page contacts to which the user does not have sharing rights do not show up in the contacts related list. On this VF page, all of the contacts show up in the related list.