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
Nigel RodriguesNigel Rodrigues 

There are 2 custom objects, say A and B having a lookup relationship. Since org wide defaults are public Read, when I manually share a record A with Public read/Write access levels, I want the same access level for the corresponding B record.

Thiruchuri AdityanThiruchuri Adityan
You can achieve it via trigger, such that trigger should be able to identify "A" record is being shared and it will do an apex share for the "B" Record.