Set Apex Class Access from Permission Sets

You can specify which methods in a top-level Apex class are executable for a permission set.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: Performance, Unlimited, Developer, Enterprise, and Database.com Editions
User Permissions Needed
To edit Apex class access settings: Manage Profiles and Permission Sets

These settings only apply to Apex class methods, such as Web service methods, or any method used in a custom Visualforce controller or controller extension applied to a Visualforce page. Triggers always fire on trigger events (such as insert or update), regardless of permission settings.

  1. From Setup, enter Permission Sets in the Quick Find box, then select Permission Sets.
  2. Select a permission set.
  3. Click Apex Class Access.
  4. Click Edit.
  5. Select the Apex classes that you want to enable from the Available Apex Classes list and click Add, or select the Apex classes that you want to disable from the Enabled Apex Classes list and click Remove.
  6. Click Save.