Forum Discussion
Latency in Workspace Permission Changes using Test As Role
What happens when you remove the user from the workspace and add them back as Viewer?
I've removed the user from the workspace entirely - and the "Test as Role" feature still responds as if this user has "Member" access to the workspace. (At this point - you would expect the test to fail - since the user no longer has access to the workspace OR dataset).
If I publish the dataset/report to a new workspace - it operates as expected with this user. However, if I start to change the permissions of the user in the workspace - again there seems to be a lag on how long those permissions take to reflect in the "Test as Role" functionality.
Changing the user from Viewer to Member - 'should' remove RLS when using 'test-as-role' for that user. But it doesn't (at least not in a few minutes).
It's more a general comment about what 'expectations' we should have when changing permissions in a workspace - and those changes being reflected in the "Test as Role" capability.
- lbendlin6 years ago
Super User
I would upgrade that "comment" to a "concern". If you have a Pro license you probably will want to raise a ticket with Microsoft and have them clarify the actual policies.
- MattB-Motive2 years ago
Resolver I
Experienced the same thing today.
I know this is an old topic, but wanted to post this link here for anyone in the future looking for more info about when the roles actually update: Re: RLS doesn't update with changes in workspace a... - Microsoft Fabric Community