Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a model with a one-to-one relationship between two tables, one which is a bridge table and another table which has sensitive information. Let's call these tables Bridge and Sensitive_Info respectively.
There is a one-to-one relationship between the two. When I apply RLS to Sensitive_Info, it appears that this filters the Bridge table as well. Note that "Apply security filter in both directions" is NOT checked though the Cross filter direction is both (only option for one-to-one cardinality).
Is this a bug that the RLS filters both tables without any other option? Or is there some other way to ensure that the RLS only gets applied to the Sensitive_Info table but not the Bridge table?
Hi @willayd ,
Does my reply make sense?
If it does, please consider Accept it as the solution to help the other members find it more quickly.
If not, please let me know.
Best Regards,
Icey
Unfortunately not. If I understand correctly you are asking me to do what I called out in the first comment, but that is hacking the cardinality rather than solving the issue
Hi @willayd ,
For One - to - One relationship, the only direction is Both. This means the two tables can be regarded as one table. So, RLS will be applied on Bridge table, too.
If you change the relationship to Many ('Sensitive_Info') - to - One ('Bridge'). The single direction will from Bridge to Sensitive_Info. Bridge table's fields could filter Sensitive_Info table. The opposite is not possible. So, RLS will not be applied on Bridge table.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Note that I can "work around" this issue by manually forcing the relationship between Bridge and Sensitive_Info to be one-to-many. This isn't technically correct though so I'm wary of what side impacts that may have and how well it will be maintained in the future
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
93 | |
82 | |
70 | |
64 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |