Forum Discussion

AditiPattnaik's avatar
AditiPattnaik
Advocate II
5 months ago
Solved

OneLake Security CLS/RLS issue

Hey there, 

I was experimenting with OneLake Security but got stuck while applying CLS/RLS.
So after giving permission to lakehouse, the issues am facing are
1) The viewer can see the table and data but the moment am applying CLS/RLS on that particular table, the viewer is not able to see the data and it says unable to refresh the table in the Lakehouse UI

Here i have applied CLS on agent data and RLS on sales_consolidated that the viewer is not able to see or load.

 

 

 

2) In the SQL analytics endpoint, when i did using delegated identity, viewer could perform select query and see the data without CLS/RLS enforcement though but with enabled user identity and with CLS/RLS applied,
                         1) Viewer is not able to query the data

                         2) Can see all the tables even ones without permission but not the data. 

 

 

I tried but seems like not working for me. May be I missed some steps. Can anyone help me in this?

6 Replies