Forum Discussion
RLS with multiple filters and values
- 4 years ago
Ybam , As long as you can create a table with email id and project which user can access you can filter.
Create a table like
Project Id ,email
This can have m-m join with project table
You can have another table
Team - email Id
This can have M-M join with Employee/team /person table
Make sure it filters the dimension
in RLS you just need filter email of these table
[email_id] = userprinicpalname()
How to use Row Level Security (RLS): https://youtu.be/NfdIA0uS6Nk
Ybam , As long as you can create a table with email id and project which user can access you can filter.
Create a table like
Project Id ,email
This can have m-m join with project table
You can have another table
Team - email Id
This can have M-M join with Employee/team /person table
Make sure it filters the dimension
in RLS you just need filter email of these table
[email_id] = userprinicpalname()
How to use Row Level Security (RLS): https://youtu.be/NfdIA0uS6Nk