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
Siddharth Kumar 11Siddharth Kumar 11 

Record sharing issue


We are giving record access to users other than sys admin through apex trigger for Account object. But some records are shared to users even though there is no manual sharing, role hierarchy permission, no records which the user is owner, no permission sets and no View All permission at profile level. We even checked the Account Share object where no shared records found for the particular user. 

Could anyone please suggest what could be the problem.

Kiruthigha Rajasekaran 10Kiruthigha Rajasekaran 10
Hi Siddharth,
Do you have any Account Teams set up?
Cory CowgillCory Cowgill
Do you have Organization Wide Defaults configured to "Private" for the Account Object? You can find this in Setup -> Sharing Settings.
Siddharth Kumar 11Siddharth Kumar 11

Thanks for your response.
We checked and there is no account team set up and the OWD is Private.

Could there be any other way by which a user gets access to records?