Forum Discussion
Allard_Swart
4 years agoRegular Visitor
Row Level Security with several rows for one user
We're using RLS but we're running into a problem with our rights table. We have programs to which users want access. But users can have access to multiple programs and multiple users can have acc...
- 4 years ago
It will work even with M:M relationships as long as your RLS rules only flow in one direction, from the RLS definition table to the fact table.
You can combine rules per user, or rely on the RLS engine to do the Venn diagram for you. Note that permissive rules override restrictive rules.
lbendlin
4 years agoSuper User
It will work even with M:M relationships as long as your RLS rules only flow in one direction, from the RLS definition table to the fact table.
You can combine rules per user, or rely on the RLS engine to do the Venn diagram for you. Note that permissive rules override restrictive rules.
- Allard_Swart4 years agoRegular Visitor
Hi Ibendlin,
Thanks for the reply. You're right it does work with M to M. Great that solves my problem. This helps alot.