function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JBabuJBabu 

Insufficient Privileges issue.

Hi,

 

I have made object "Equipment Snapshot" access as private as I don't want all the users to access all the data in the object.

Then I have given access to the data with criterion based sharing rules. 

For Ex user "Albert Lombard" is a Standard User, he needs to access records of type "Printer" on the  underlying "Equipment" object. User 2 "Mike Barch" is a Sales specialist, he needs access to "Scanner" type records.

 

Equipment Snapshot object has Type field with printer, scanner, xerox values accordingly.

 

I have created groups - 1. printer group and added Albert Lombard to that group and 2.scanner group and added Mike Barch to that group.

 

Under "Equipment Snapshot Sharing Rules" I used criterion based sharing rules as 

Rule 1) Criterion (Select which records to share), Type = Printer and (Select the users to share these records with) Public group  = printer group.

Rule 2) Criterion (Select which records to share), Type = Scanner and (Select the users to share these records with) Public group  = scanner group.

 

After logging in as User 1/User 2, even after giving the above rules, when I search for the report I am able to see it but when I click on the report I get the below message

"Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. "

 

Please let me know why the users are not able to access the report data?

 

Thanks,

Babu.

Best Answer chosen by Admin (Salesforce Developers) 
Jia HuJia Hu
Please check your profile or permission set,
have you given the Object-level access of the custom object "Equipment Snapshot" for users Albert Lombard and Mike Barch?

All Answers

Jia HuJia Hu
Please check your profile or permission set,
have you given the Object-level access of the custom object "Equipment Snapshot" for users Albert Lombard and Mike Barch?
This was selected as the best answer
JBabuJBabu

Thank You Jia. User's profile didnot have read access to the object. I have given the same and they are able to see the data. Thanks a lot.