Forum Discussion
Roles not working correctly
- 4 years ago
Hey WEB3 ,
if you publish your Power BI Desktop file to the workspace, with Row Level Security (RLS) implemented it's essential to understand, that RLS will not apllied if users are accessing the content from inside the workspace.
You have to create an app from the contents of the workspace and grant users access to the app, instead of adding users to the workspace.
I always recommend that only users who are creating content (reports and dashboards) should be added to the workspace.
There is only situation where RLS will be applied if content is accessed from inside a workspace and not via the app, and this is when users have been the Viewer role assigned.
Remove users who are only content consumers from the workspace and provide these users access to the app.
Hopefully, this helps to tackle your challenge.
Regards,
Tom
Hi Eric,
The other users in the workspace need to be "Viewers" only. Then they will be subjecty to Row Level Security. If you have users in the Workspace that are "Members" "Contrubutors" or "Admin" they are not subject to Row Level Security so they will see all data.
Hope this helps
Stuart
Hi Burningsuit ,
Unfortunately that has no effect. The users that I have now set as Viewer still have access to all data.
Eric