Forum Discussion
RLS security
- 2 years ago
Great I've added some fake email addresses and used UserPrincipalName to apply the filter:
testrls - sam.pbixYou can impersonate an email by entering it into Other user and ticking the role you want to test:
Hi eirika
Under the RLS for t2 could you add a filter to AccessId=
AccessID IN Values(access[AccessID)
Same with t1
AccessID IN Values(access[AccessID)
This should directly apply filters onto those tables based on the list of ID the person has
Hi,
Thanks for your response.
Sorry to say that this didn't work. It doesn't filter out anything, so the result is the same as without the new filters.
- SamWiseOwl2 years agoSuper User
Hi eirika Can you share a sample file? It works on my test file but the stucture could be different.
- eirika2 years agoFrequent Visitor
hi,
thanks for your help
didn't find a way to include it here so uploaded a test file to
https://1drv.ms/u/s!Av4RVTN1GLuWgutkQzhr1KeJEP7bVQ?e=2MOgoq- SamWiseOwl2 years agoSuper User
Hi eirika
How will the filtering work on publish?
Are you going to add emails into the Access table next to their UserId?