Forum Discussion
Restricting User Access
- 5 years ago
Hi, DJSAM
In my opinion, the RLS is designed for making the viewers of this report restricted by their role. If you give them the view permission and don’t give them a role in RLS, they can see all the data without restriction. You can keep in mind: the RLS only works for the viewers of the report who don’t have “Build permission” to the underlined dataset. If the end-users get “Build permission” to the dataset, RLS can’t work on them anymore.
Add all the users you want to invite to a Security group and add this group to the RLS role may meet your requirement. You can check this video:
https://guyinacube.com/2020/02/25/can-you-use-groups-with-power-bi-row-level-security-rls/
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, DJSAM
In my opinion, the RLS is designed for making the viewers of this report restricted by their role. If you give them the view permission and don’t give them a role in RLS, they can see all the data without restriction. You can keep in mind: the RLS only works for the viewers of the report who don’t have “Build permission” to the underlined dataset. If the end-users get “Build permission” to the dataset, RLS can’t work on them anymore.
Add all the users you want to invite to a Security group and add this group to the RLS role may meet your requirement. You can check this video:
https://guyinacube.com/2020/02/25/can-you-use-groups-with-power-bi-row-level-security-rls/
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- DJSAM5 years agoFrequent Visitor
Thank you for the response. As you mentioned it turned out the user we got to test it actually had contributer permissions and this is why, despite them not being in the RLS group we setup, they could still access the dataset. So basically me being stupid 🙂 I didn't realise you could use security groups with RLS as well, that could be very helpful in the future, thanks for the video.