Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
We use the account owner and their manager to control who can view accounts.  Owners can only see there accounts.  Works great.

I created a VF page and controller to display a custom object that has a master detail relationship with account.  Everyone can all the accounts.  I don't understand why the the account security is not following through on the VF page.  

Any help would be greatly appreciated.

 
2 answers
  1. Jul 18, 2016, 3:44 PM
    Hi Dean,

    Please check your OWD setting for that object for which you are controlling the visibility.

    Please use make sure data OWD setting should be private and your controller has with sharing keyword.

     
Loading
0/9000