I have created a permission set.
The permission set does not have access to any apex class:
Enabling all classes in the permission set:
Getting the below error:
I can enable the permissions for classes by enabling those in patches or retrieving the metadata file and enable the classes in the file then deploy.
I followed this link, to insert record using Workbench to enable access.
But the CSV is not getting inserted successfully:
What is the quickest way to enable all Apex classes in the permission sets?