Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Row Level Security not working when tested by a user

I have set up RLS named "USA" based on the country [Country] = USA.

After i publish my dashboard I "view as" the role "USA" and it works fine. 

I assing the user Bob, who is not in my workspace, to this role. Then I "View as Bob" and I see only data from US, so ok.

 

Unfortunately, when I Bob accesses the app he is able to see all data instead of being limited to just USA.  Is there something I'm missing? 

 

Thanks, any help much appriciated.

3 Replies