Loading

Apex Class access for Open CTI

Publish Date: Jun 26, 2023
Description
Starting in Winter '19, in existing organizations, CTI users will now see warning messages when the CTI softphone invokes Open CTI RunApex() on an Apex class for which they don't have permission in their profile:

'You don't have access to the Apex Class [Class Name]. Contact your admin and have them give you access.'

Users are able to dismiss the warning by clicking the X, and can then proceed normally. For new organizationss, however, RunApex() fails unless the user has permission for each Apex class used in their Open CTI implementation.

With Spring '19 the change will be enforced across all Organizations and users will no longer be able to dismiss the warning.
Resolution


To resolve these warning messages:


1. Review your Open CTI implementation. Make a list of each Apex class that your CTI implementation uses RunApex() on.
​2. Next, review the profile(s) assigned to your CTI users. Give them permission for each Apex class that you listed in step 1.

Note: Permission for Apex classes can be given by profile and/or permission set which depends on the provider of the managed package (if involved).
Knowledge Article Number

000383968

 
Loading
Salesforce Help | Article