Forum Discussion
afbraga66
Helper III
9 months agoOne Lake Security implementation doubts
Hey, So am trying to identify how to implement One Lake Security. The goal is to provided self-service for departments which will have each their own workspace, by allowing them access throught s...
- 9 months ago
Hi afbraga66 ,
If you need RLS to function properly, ensure your queries are run through the SQL Endpoint.
When using a notebook, use %sql for queries that require RLS, as standard Spark reads (spark.read) do not enforce it yet.Thanks for your time.
afbraga66
Helper III
9 months agoHey,
It is still not clear to me how is a user supposed to run spark notebooks and have the rls be applied, if a viewer user cannot run queries. Thank you.
Best regards,
Andre
V-yubandi-msft
Community Support
9 months agoHi afbraga66 ,
If you need RLS to function properly, ensure your queries are run through the SQL Endpoint.
When using a notebook, use %sql for queries that require RLS, as standard Spark reads (spark.read) do not enforce it yet.
Thanks for your time.