
Consider Account 'ABC' and Account 'DEF'. Each account is a 'partner account'.
Each Account has a number of contacts and the contacts are 'partner users'.
There are a number of leads. Some with the Account lookup field pointing to account 'ABC' and some pointing to account 'DEF.
Leads are created by different individuals. The lead owner can point to an internal user or a partner user.
What we need:
We need all the partner users for account 'ABC' to be able to see all of the leads for account 'ABC'. And likewise for account 'DEF'. We do not want the partner users to see leads from other accounts.
I've been looking at partner roles but I think that is going to take hundreds of sharing rules. I have been looking at partner 'super user' rights but that seems to not work when the lead owner is an internal user.
Sure appreciate any thoughts.
5 answers
Interesting - it looks like that statement only applies to custom objects as Leads are not on the standard object list for Sharing Sets.
You could create a 'shadow object' (my favorite consultant bingo word) to store all this information and use a trigger or process builder to pass the data back and forth between the lead and custom object. Its not ideal, but would provide a workable solution.