Is anyone using Winter 19 in any test environments? Our test environment has been upgraded to Winter 19 so we can get used to the changes before we upgrade prod.
I have noticed in our test Winter 19 environment, this error pops up when I log in:
"You don’t have access to the Apex class System.UserInfo. Contact your admin and have them give you access"
In Winter 19 Salesforce has started to enforce permissions and field visibility for classes accessed via the openCTI framework. Prior to Winter 19 classes accessed through the openCTI framework did not have to have explicit permission to the classes.
From what I can tell, the PureCloud for Salesforce application is installed for all users, we are using 2.27. I am not sure how you can tell how it was originally installed and or how to change it.
Salesforce just updated their issue that it is scheduled to be fixed in Spring 19, not sure if that means the issue is on their side and nothing to do with the purecloud package.
jLee, Yes this fix / change will have to occur on the Salesforce side. According to the salesforce issue it will be fixed in the Winter 19 patch 7 release. This patch is already being rolled out to the different environments as of 10/3/2018.
To add additional information to this. Starting with Salesforce Winter ’19, PureCloud for Salesforce users may see warning messages indicating that they do not have access to an Apex class.
Users of current Salesforce organizations can proceed without any issue. Users of new Salesforce organizations must be granted permission for each Apex class. If you experience this issue, this indicates you do not have access to one of the following Apex class. Please ensure you have been granted read access via a Salesforce permission set.
This apex class doesn't show up in the profile settings for assignment, and the class itself doesn't allow editing of the security. I've looked over the settings in our org otherwise and everything looks like it should be fine but we are still receiving these errors.
just want to confirm on following statement.
Users of current Salesforce organizations can proceed without any issue. Users of new Salesforce organizations must be granted permission for each Apex class. If you experience this issue, this indicates you do not have access to one of the following Apex class. Please ensure you have been granted read access via a Salesforce permission set.
purecloud.CustomCallCenterSettings
purecloud.PureCloudChatTranscriptServiceAccess
purecloud.CTIContactSearchService
Our customer is able to bypass the error on their integration and able to make and receive calls , they are an existing salesforce org only started to get this error today and have been active for several weeks, but want to clarify in the short term this would not cause them any additional issues until they can have the permissions set.
Because the change was rolled out by Salesforce, Genesys can not make any guarantees. According to Salesforce's documentation if the org existed before winter 19 the client should continue to work, without issues, but the user will be notified with the error message that they need to be granted permission to the access apex classes. I would have them add the permissions as soon as they can.
Because its a managed package the best / easiest way to enable access to those classes is through a Salesforce Permission Set that gets assigned to the users. As far as I am aware you are not able to add permission via the profile settings page for classes that are in Managed Packages.
One additional thing to note is that if are running an older version of the manage package you may not have all of the classes, as the PureCloudChatTranscriptServiceAccess was added earlier this year and CTIContactSearchService was added in June.