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
Patrick Mayer 4Patrick Mayer 4 

Related List component causing Insufficient Privileges

<apex:page standardController="Order__c">
    <apex:relatedList list="Cases"/>
</apex:page>

This is in one of my sandbox orgs. I have System Admin permissions. Yet, I get an Insufficient Privileges error on page load. The Cases related list does work on the standard layout. I am not sure which permission I should change. Thanks!

Best Answer chosen by Patrick Mayer 4
Edwin VijayEdwin Vijay
Might be that the field level security is causing this? though a System Admin should have access to all field this behaviour does happen sometimes

All Answers

Patrick Mayer 4Patrick Mayer 4
After more tests, this does work just fine in my Production org.
Edwin VijayEdwin Vijay
Might be that the field level security is causing this? though a System Admin should have access to all field this behaviour does happen sometimes
This was selected as the best answer