Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mizaskun
Helper II
Helper II

RLS multiple rol crash

Good morning,

 

As I understood, a multiple role based RLS works as a OR clause. A user will see lines granted through role A and lines granted through role B.

 

I have the following schema:

mizaskun_0-1624441786503.png

 

The table PERMISOS stores a user email and the plants to which a user have access. 

 

My frist role checks whether the loged user have access to a plant:

mizaskun_1-1624441896468.png

 

And the second role checks if the user is the owner of a control:

mizaskun_2-1624441924757.png

 

The roles work correclty by separate. I only see controls from granted plants or I only see controls of which I am the owner.

 

However, when I try to assign both roles to see the controls from which I am the owner and the controls of the plants I need to see, all the data is retrieved. I see controls that I am not owner of and not listed in the PERMISOS table.

 

Any suggestion? 

 

1 REPLY 1
Anonymous
Not applicable

Hello @mizaskun 
This may help you.
Link1 
Link2 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.