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

Insufficient Privileges Issue


I have an object with OWD equal to "Private".
I have sharing rule (Read/Write Access) on object for sharing record of "RecType1" with group of users.(Created Public Group).

I want to provide read only access to records of "RecType1" record type for "Engineer" role.(Engineer profile has CRU permission to this obj)

I have created sharing rule with read only access to this role.
Still I get "Insufficient Privileges" error for users in the Engineer role.
Bhanu MaheshBhanu Mahesh
Hi sfdc18,

Check whether that record belongs to 'RecType1' or not.
Try to recalculate the sharing rule by clicking on Recalculate for that object in sharing settings page.
Setup --->Administartion Setup-->Security Controls ---> Sharing Settings ---> Goto Sharings rules section of the object ---> click on Recalculate

Try to post the sharing rule which you have created and also open the record and view whether This Role is added in the sharing section.
This can be viewd by clicking on the sharing button from detail page.

Bhanu Mahesh