<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RLS multiple rol crash in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS-multiple-rol-crash/m-p/1917247#M41516</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="299045" data-lia-user-login="mizaskun" class="lia-mention lia-mention-user"&gt;mizaskun&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This may help you.&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Service/row-level-security-Help/m-p/544878/highlight/false#M55767" target="_self"&gt;Link1&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/RLS-multiple-combination/m-p/694197" target="_self"&gt;Link2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 10:47:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-23T10:47:04Z</dc:date>
    <item>
      <title>RLS multiple rol crash</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS-multiple-rol-crash/m-p/1917141#M41514</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following schema:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table PERMISOS stores a user email and the plants to which a user have access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My frist role checks whether the loged user have access to a plant:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the second role checks if the user is the owner of a control:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The roles work correclty by separate. I only see controls from granted plants or I only see controls of which I am the owner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:54:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS-multiple-rol-crash/m-p/1917141#M41514</guid>
      <dc:creator>mizaskun</dc:creator>
      <dc:date>2021-06-23T09:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: RLS multiple rol crash</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS-multiple-rol-crash/m-p/1917247#M41516</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="299045" data-lia-user-login="mizaskun" class="lia-mention lia-mention-user"&gt;mizaskun&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This may help you.&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Service/row-level-security-Help/m-p/544878/highlight/false#M55767" target="_self"&gt;Link1&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/RLS-multiple-combination/m-p/694197" target="_self"&gt;Link2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:47:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RLS-multiple-rol-crash/m-p/1917247#M41516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-23T10:47:04Z</dc:date>
    </item>
  </channel>
</rss>

