Forum Discussion
RLS And authorizations
Assuming when you tested in both workspaces, they are individual datasets ( i.e not shared dataset between workspace).
If it works in Workspace Operations, but doesnt in Workspace Crew. It could be the person e.g Adam, has been assigned with a different role in a different way.
Example
In Workspace Operations, you have these members:
1. Ops_Readers - Assigned as Viewer - contains Adam
2. Adam - Assigned as Member
3. SecurityGroup2 - Assigned as Member - contains Adam
(2) or (3) will bypass RLS, and Adam will see all data.
thanks 🙂 But ....
Workspace Operations we have followings Security Groups:
OPS_Readers (Viewer) > Contains Adam
OPS_PowerUsers (Admin) > Without Adam
Workspace Crew we have followings Security Groups:
Crew_Readers (Viewer) > Contains Adam
Crew_PowerUsers (Admin) > Without Adam
There are no other security groups.
- Tutu_in_YYC3 years agoSuper User
Same report and dataset in both workspaces? As otravers mentioned, what did you use for the RLS DAX syntax?
- Cihan613 years agoFrequent Visitor
i have a file that i have saved locally and i load this file in two different workspaces. In that case we would have two different datasets in two different workspaces, right? But if I delete one of them in a workspace, the same thing happens.
The Dax formula is the following:
I am not sure if it is really due to the Dax formula. When I test it on the desktop version, it works fine. I enter the email address of the person and it works.
- Tutu_in_YYC3 years agoSuper User
Yeah the DAX looks fine. It has to be some overlap of roles. Just to confirm there are only 2 members in each workspace and they are the security groups, no other members in there?
Cihan61 wrote:
Workspace Operations we have followings Security Groups:
OPS_Readers (Viewer) > Contains Adam
OPS_PowerUsers (Admin) > Without Adam
Workspace Crew we have followings Security Groups:
Crew_Readers (Viewer) > Contains Adam
Crew_PowerUsers (Admin) > Without Adam
If yes, this is a doozy...