Hi Guys,
I have got a requirement where any contact can be part of any account (i.e. basically N:N relationship between contact and account ) and we have to implement account level security in such a way that people belonging to specific account should have access to all the records created by same account.
Attached diagram explains the scenario.
User 2 should have access to all the records of a table where account lookup is of Account A and Account B--> ID 1,2,4,7
User 5 should have access to all the records of a table where account lookup is of only Account C --> ID 3,5

Thank you.