+ Start a Discussion

Security Settings/Profile Permissions with VisualForce page

Hello VF Gurus,


I was trying hard to understand how Security Settings or the Profile permissions are enforced on a VisualForce page, in case, the page is displaying/using data from multiple objects.


I know the "With Sharing" keyword is used to run the controller in User Mode, but i am not sure how this works when the page is working with data fetched from multiple objects.


In my page, i am working with data drawn from around 3-4 objets and the controller is running on one of these as an Extensions.


While testing, i am completely lost as to how and why some features are working for some profiles and others are not.


Is there any reference on this or if someone has faced similar issue? Please let me know, would work wonders for me!!


Many Thanks,