AuraEnabled apex controller in a managed package does NOT display for profiles in UI
Apex , API , Lightning , Summer 20
Last updated 2020-10-04 ·Reference W-7764081 ·Reported By 6 users
Summary
A public AuraEnabled apex controller in a managed package does NOT show up for profiles in UI to provide access to that apex controller.
Repro
1. Create a Dev org and assign namespace (testabc)
2. Create an apex class with AuraEnabled
3. Upload package and note down package upload url
4. Install the package created earlier into a new Subscriber org.
5. Try to add the apex classes that are AuraEnabled to the User's profile.
6. You cannot find the classes to be added at the profile level.
Workaround
You can add the classes using Permission Sets
Reported By (6)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.