Skip to main content

Power BI

Needs Votes

Add a default role for row level security

Vote (281) Share
Jon Jowsey's profile image

Jon Jowsey on 17 Aug 2016 07:46:21

I want to be able to assign all users (including new ones) to a default role in RLS. Currently I have to assign each user to the role manually, and update the roles manually when users change.

This limits the ability to use RLS with a larger user base.

Comments (25)
Jon Jowsey's profile image Profile Picture

600bebd7 0fe0-4c36-b61d-557bdc703e6b on 05 Jul 2020 23:37:44

RE: Add a default role for row level security

Agree - if we could have some role defined for those who are not assigned to a role this would be good.
For the time being I'm using a corporate GMS group to add everyone.

Jon Jowsey's profile image Profile Picture

5d22616c 5ba1-4f14-9d1f-2a8e04253516 on 05 Jul 2020 23:29:55

RE: Add a default role for row level security

Would very much like to see this appear in the near future - with a growing amount of users accessing Power BI, the ability to assign a default role that restricts visible data would be incredibly useful.

Jon Jowsey's profile image Profile Picture

b5f390e5 12d3-e811-a974-000d3a1be90a on 05 Jul 2020 23:21:25

RE: Add a default role for row level security

Totally agree - we need the ability to assign a "Default" role to all users. This would add incredible power to RLS so that you are only assigning a different role if needed, rather than for EVERY user.

Jon Jowsey's profile image Profile Picture

0a3e0f8b 1bdb-46c1-8745-519694278c7a on 05 Jul 2020 23:19:15

RE: Add a default role for row level security

Any updates on this? I need this function very much for a group a couple of hundred people all over the world, changing everyday!

Jon Jowsey's profile image Profile Picture

cddbc733 90ad-4f11-a324-fe4f6f243abc on 05 Jul 2020 23:14:35

RE: Add a default role for row level security

I just realised Other User allows you to check against a specific users email. Bugger.

Jon Jowsey's profile image Profile Picture

cddbc733 90ad-4f11-a324-fe4f6f243abc on 05 Jul 2020 23:14:34

RE: Add a default role for row level security

It is interesting that when you click 'View as roles' there is a 'None' and an 'Other user'.
Other user' is defined nowhere and we don't have the ability to set the rules on it... so why have it? Maybe they are preparing for this feature and allow us to set a rule against 'Other User' that is defined to anyone that has accessed but not yet given a role.

Jon Jowsey's profile image Profile Picture

b0cde7ce 32a1-4d13-b1be-ec19e3f61c21 on 05 Jul 2020 23:12:08

RE: Add a default role for row level security

Agree to that it is a simple but very helpful feature. Having to add user to a RLS is very cumbersome

Jon Jowsey's profile image Profile Picture

3e26d96f db73-4ee8-b1a8-90bec3935abf on 05 Jul 2020 23:02:40

RE: Add a default role for row level security

It would also help when trying to give minimal access by default. If no roles were passed, the default role could block most, if not all, data. This would allow you to create reports that require a role in order to see any data instead of the lack of a role showing all data.

Jon Jowsey's profile image Profile Picture

250f04a8 d2f3-42d4-bbaf-230b58c7dd4d on 05 Jul 2020 22:59:12

RE: Add a default role for row level security

If the 'Manage Roles' dialog had a 'default' option to set table filters for users who had no role assigned, the problem would be solved from my point of view.

Jon Jowsey's profile image Profile Picture

7d1e2164 fb7b-40ad-902b-951e91a17c8d on 05 Jul 2020 22:58:14

RE: Add a default role for row level security

I would very much appreciate this functionality as well. If you have a large userbase that is changing frequently you really need a default role!