We need to share access to a specific record type between members of a public group. So far I've done it with a criteria based sharing rule with Record Type and Owner ID as the criteria. This is less than ideal, since I have to remember to add and/or remove user IDs to the sharing rule whenever group membership changes. Is there a better way to share a specific record type between members of a public group?
5 answers
Is this a custom or standard object? Apex sharing can do some wonderful things for being targeted for such a use case: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm