Say I have 2 custom roles - ‘A’ and ‘B’.
Now for a particular data object (table row) - how can I set permissions to achieve below (say to read):
- All users with role ‘B’ are allowed
- Owner (who has role A) is allowed
- One more particular user with role A (not owner) is allowed
- All other users of role A (except above two) are NOT allowed.
I thought of various combinations - but not able to find a solution.