Forum Discussion

NimaiAhluwalia's avatar
NimaiAhluwalia
Continued Contributor
2 years ago
Solved

Row Level Security

Imagine this scenario.

2 user groups.  A & B which are aligned to sales channels A and B.

Each channel contains customers.  Lets say A1, A2, A3 and B1, B2 B3

 

Users in group A need to see all sales in channel A and be able to see the detail of sales for A1, A2 and A3.  They also need to see an aggregated view of sales for Channel B, but NOT the detail.  So all of B aggregated together.

 

Same is true of users in group B.  Then need to see all of B sales and B1,B2, B3 but only an aggregated view of sales for A.

 

RLS no good as that would prevent A from seeing any of B and vice versa.

 

What is the solution??

amitchandak

 

1 Reply