We have an object whose Org-Wide default sharing setting is set to Private.
When an Admin changes a Picklist to Full Access, we have to insert
CustomObject__Share records for all users, and potentially delete old
We are doing this in a batch process, but if there are more than 10k users, even if the scope is 1 it fails since we would be inserting more than 10k records.
Is there any way to get around this? Is it possible to change the Org-Wide default to Read/Write programatically? Or maybe do it on a profile basis rather than individual users?