Skip to main content

I want to share a record that has been created by a community user (Customer Community Login).

Using Apex Manual sharing without changing the ownership of the record, I get the error message "insufficient access rights on cross-reference ID" and if I change the ownership of that record to any internal user or queue then it's working perfectly. and I have to share that record with the related case account and their above in hierarchy account owner.

 

Object: PublicComplaint (Public Sector)

And Sharing Settings should remain private.

 

#Salesforce Developer  #Security  #Salesforce Admin  #Trailhead Challenges  #Salesforce  #Public Sector  #CRM Configuration

1 commentaire
  1. 1 juil. 2024, 10:34

    Hello!

    To resolve the “insufficient access rights on cross-reference ID” error, ensure the user has the necessary permissions, use the without sharing keyword in your Apex class, and check the sharing settings for the PublicComplaint object. If these steps don’t work, review the specific sharing rules and permissions for the community user and internal users involved.

     

    Best Regards,

    Panorama Charter Portal 

0/9000