Forum Discussion
Dynamic Row Level Security
Hi garimajain85 ,
Be aware that RLS only works for users with viewer permissions in the workspace, all other roles (admin, member or contributor) since can edit the reports don't have RLS applied because it won't make sense in terms of role.
That is why you can't see the role working for you specifically.
7 Replies
- MFelixSuper User
Hi garimajain85 ,
Be aware that RLS only works for users with viewer permissions in the workspace, all other roles (admin, member or contributor) since can edit the reports don't have RLS applied because it won't make sense in terms of role.
That is why you can't see the role working for you specifically.
- garimajain85Frequent Visitor
Thanks Felix,
It seems to be working now partially. Some visuals are still blank:(
- anoomohanHelper III
I am facing the same issue, added the filter as below in 'Manager roles' in desktop
[emailid] == userprincipalname()
then saved it and wanted to test the role with 'view as'
but when i select the specified role, all data goes blank
- anoomohanHelper III
yes, i did that only, its mind boggling to see that its not working despite doing the same steps whats necessary for the DRLS.
- garimajain85Frequent Visitor
It worked for me after I made sure I had the correct relationships and "keys" in the model.
- Rajesh_YarlagadHelper I
For testing, i have created user table(Store ID and Email adress) with some random email address. For default, I have given same email address in all rows for all store ID's I have created a new role 'Access Control' where email id = userprincipalname().But when I try to view as 'Access Control'. Everything gets blanked out in table just showing the totals. When i view as other user (example : my email ID), it displays everything. It looks strange. Is there any fix for it ?