AdvoLogix Help

Users Unable to Log In Without an Error (MM)

Updated on

Article #000001022

Summary

Upon logging in, users receive multiple apex errors due to Salesforce critical update enablement.

Question

Why do I receive multiple apex errors immediately after logging in to AdvoLogix/Salesforce after 8/8/2020?

Restrict Access to @AuraEnabled Apex Methods for Authenticated Users Based on User Profile

Resolution/Workaround

In the Salesforce Winter '21 release, a critical update was enforced that gives you more control over which authenticated users can access Apex classes containing @AuraEnabled methods.  When this update was activated, an authenticated user could access an @AuraEnabled Apex method only when the user's profile allowed access to the Apex class.

System administrators can manually modify each profile by assigning all AdvoLogix Apex classes or they can use the pre-packaged AdvoLogix permission set that will grant access to those classes.  The AdvoLogix permission sets contain default permission levels for both an admin and a user.  Be aware that the permission set(s) will grant permissions even to objects or fields the user may have hidden in the profile.

For additional information about this critical update and best practices, please review the resources below:

Previous Article Guidance For Connecting and Developing for the Salesforce REST API (MM)
Next Article What is the purpose of the history object? (MM)
Still need help? Click here!
AdvoLogix® is a registered trademark of AdvoLogix.com LLC a Texas Limited Liability Company. All references to other trademarks belonging to third parties that appear on this website, documentation, or other materials shall be understood to refer to those registered trademarks owned by others, and not to any trademark belonging to AdvoLogix. Otherwise, all material herein is the copyright of AdvoLogix.com LLC. All Rights Reserved.