question

ycb avatar image
ycb asked ·

Caller package does not have all read customer permissions

Hi,
I'm getting
java.lang.SecurityException: Access denied, caller package does not have all read customer permissions
When I try to load customer using this uri
 CustomerContract.Data.contentUriWithAccount(account);
if I use
CustomerContract.Summary.contentUriWithAccount(account);
it works properly.
ps: I have the customer read permission
Customers
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Dan avatar image
Dan answered ·
Customers permissions changes were made for the EU environment, and the changes enforcing the permissions were inadvertently applied to all environments for the CustomersContract.Data provider.

In us production, the fix went out in engine v2042 in the evening on August 7.
The update has not been published on sandbox yet.

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community