Forum Discussion
AnthonyJoseph
2 years agoResolver III
Bypass RLS through DAX in Manage roles section
Hello Community, In our dashboard are currently using RLS (user email = userprincipalname()) to show data based on the logged in user. Now, we need to bypass this RLS when the user is from "Admin...
AnthonyJoseph
2 years agoResolver III
Thank you for sharing your thoughts AnthonyGenovese ... I m not sure if I understand about multiple roles w.r.t. to "Admin" and "Employee" view in RLS, if you can provide some sample or guidance that would be much helpful.
Thanks,
AnthonyJoseph
AnthonyGenovese
2 years agoResolver III
They way we do RLS for admins, is we have an AD Group that all the admins are in. Then, we add a new role call admin, with read privilages. Add that AD group to that role and you are all done.
If you have to use a table like you described to find who the admins are, you have to do it in dax.
- MargusMartsepp2 years agoNew Member
I approve doing this with an Active Directory Group.