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
ScriptMonkeyScriptMonkey 

2 sites with shared permissions?

I'm looking to do something of a somwhat unique nature (well I think it's unique)

 

I have two sites each linked to two different packages.  Site A (and it's package) creates a contact.

 

Site B (and it's package) attaches objects, updates it, etc.

 

When Site A creates the cotact, it is that site's guest user that is the owner.

 

I know that I can make a public group, and put the site users in it, then share it with other public groups, but using that is not letting SiteB Guest User edit/modify SiteA Guest User's contacts.

 

I'm trying to not involve triggers to modify who owns it, because then we can't track as well as we would hope.

 

I have a public group with both site users in it, and another one with just siteB's user.  Then I have two sharing rules, one is "all internal users" sharing read/write with the SiteB public group, the other is the "all sites" public group sharing read/write with the SiteB Group.

 

but it seems site B still cannot edit a contact owned by SiteA's user.

 

Advice?