Closed deb761 closed 6 months ago
relationships that are created by the test user w/ volunteer permissions are visible. no other relationships are (and neither are contacts or accounts)
I missed adding the sharing rules in post deploy.
I have something that's working in a scratch org, but there's a bit of setup involved:
I am setting up the deb sandbox for testing this.
more detailed setup notes:
1.Create Custom Setting "Atlas Settings"
4.Add User User to Group "All"
5.Create Volunteer User with Atlas Minimum Profile
6.Add Volunteer to Volunteer Group
7.Assign Atlas Base and Atlas Volunteer permission sets to your volunteer
then open developer console from salesforce
To set the fields, pull up a Developer Console, and Debug > Open Execute Anonymous and paste in the following. Then press execute.
Postinstall.setSharingFields();
Critical Changes
Changes
Added relationship trigger that adds ShareWith to related contacts that match main contact. Added relationship object to Volunteer permission set.
Known bug where if position removed the ShareWith on related contact isn't removed.
Issues Closed
492