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
Sherry TavesSherry Taves 

RE: Security Alert: Restrict Access to @AuroraEnabled Apex Methods for Authenticated Users Based on User Profile - Know little about apex. Does anyone know how I should proceed?

VinayVinay (Salesforce Developers) 
Hi Sherry,

An authenticated user can access an @AuraEnabled Apex method only when the user’s profile allows access to the Apex class. This critical update enforces user profile restrictions for Apex classes used by Aura and Lightning web components.

You can find more details in below release notes

https://releasenotes.docs.salesforce.com/en-us/spring20/release-notes/rn_lc_restrict_apex_authenticated_users_alert.htm

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_AuraEnabled.htm

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. 

Thanks,
Vinay Kumar