Using apex:relatedList in a Visualforce page when the user profile denies access to child objects
问题 I have two custom objects, Appointment and Session Report. Session Report is a child of Appointment in a standard Master-Detail relationship. Additionally, I have a profile, Student, which has Read-Create-Edit-Delete for Appointments and no rights for Session Reports. The use case is a Student can create an Appointment but cannot view the Session Reports created for this Appointment by a Tutor. Using a standard layout for the Appointment object works as expected when viewing Appointments.