Updating Apex Class Security for Profile Times Out with Millions of Portal Users
Last updated 2018-06-09 ·Reference W-4605486 ·Reported By 1 users
When a profile has millions of portal users assigned to it, it is possible that adding or removing a apex class access from that profile will result in a time limit exceeded error.
1) Create a custom profile and assign over a million community/portal users to this profile.
2) Create an apex class
3) Navigate to the profile's Apex Class access section, and attempt to add access to the apex class from step 2
4) Time Limit Exceeded
1. Use a permission set, and assign the permission set to small batches of users
2. Create a dummy profile, move all (or most) users to that profile, change the apex access of the original profile, and move all the users back (in batches of course)
Reported By (1)
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.