I created a force.com Site, which uses a LWC in Visualforce page. It seems that the Guest User cannot read the records and even if I preview as admin the Site still the records are not showing. Guest User has access to the objects, the visualforce page and the Apex class controller. Is there any permission I need to add? TIA.

  • Do the guest users have access to records? Is there any guest sharing rule created to share records with guest users?
    – manjit5190
    Oct 3, 2020 at 8:34
  • Hi thanks @manjit5190 for your comment. I resolved this by adding a standardController in visualforce page. Thanks
    – Duan
    Oct 3, 2020 at 8:45

1 Answer 1


There is a critical update called "Restrict Access to @AuraEnabled Apex Methods for Guest and Portal Users Based on User Profile".If you have this critical update enabled in your org then the guest users will not be able to access the @AuraEnabled apex classes unless you give the access on profile level.

Please refer the release notes to see the same for more information.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .