Hi @hardikv ,
thats a tricky one 🙂
One part is easy: enable all cases in contactscope which belong to you 🙂
The second one could be (did not test):
- Create a (parent-child) permission to see the contacts, which are linked via primary contact of accounts to contacts (yes, it will be you as a contact when you are the primary contact).
- add a (parent child) permission to see the account which is the parentcustomerid of the contacts you are allowed to see (yes, will be your parent account)
- add a rule to see all contacts which are visible to your accounts visible.
- add a rule to see all cases which are linked to the contacts you can see.
When i am not wrong, you will not have a permission to your parentaccount when you are not going over that permissions (you would only be able to see it within account context, which is not used in this chain). This could result in not beeing able to see other cases.
I am not sure whether you can not always see your parentaccount independent of the scope of the rule. This would destroy this idea 🙂
Have fun,
Christian