I have a custom Visualforce page that is displaying Cases to Salesforce Community Plus users. A custom controller has the keywords
global with sharing and a
global static method annotated with
Some of the community users are able to see details about records based on the SOQL query being run by the controller but are unable to view those records. The records are owned by Users higher on the Customer Portal Role hierarchy.
The external sharing model has been enabled for the Salesforce org. The default external access for Cases has been set to 'Private'. Sharing does exist to open up visibility of Cases to users higher on the Customer Portal Role hierarchy.
I have also tried filtering Cases using the UserRecordAccess object related to the Cases but no difference was visible.