I have a report based on a custom object X.
X has a lookup to Account.
The report is for Partner Community users. A commnunity user should only see the records of object X associated to the Account on their Contact.
I have set the External Sharing Setting of object X to Private. Now I want to create a new sharing rule to achieve the above.
Any idea how to do it? I'm new to Communities. Please help.