<?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: SECTION ACCESS dynamic row reduction with *two* permissioned-entity types, and circular referenc in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1731871#M55859</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We just released a new video in our YouTube channel related to your question.&lt;BR /&gt;I hope it helps!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IPC Tips - Removing Circular References&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://youtu.be/s-QA8fbQDC4" target="_blank" rel="noopener"&gt;https://youtu.be/s-QA8fbQDC4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 18:58:07 GMT</pubDate>
    <dc:creator>marksouzacosta</dc:creator>
    <dc:date>2020-07-29T18:58:07Z</dc:date>
    <item>
      <title>SECTION ACCESS dynamic row reduction with *two* permissioned-entity types, and circular references</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1726542#M55383</link>
      <description>&lt;P&gt;I have an app displaying two entity types: "audits" and "actions".&amp;nbsp; Both entities have dates on them and can be grouped into quarters, for example. A&amp;nbsp;user is allowed&amp;nbsp; to see a subset of all audits, and a subset of all actions. (Subsets vary across users. Some users are allowed to see everything).&lt;/P&gt;&lt;P&gt;I implement this using SECTION ACCESS. An "Identity Role" table maps users to USER or ADMIN, while "Identity Audit" and "Identity Action" tables capture users' entitlements. Finally, there are the data tables "Audit" and "Action".&lt;/P&gt;&lt;P&gt;So far so good. However,&amp;nbsp; I then discover that I cannot&amp;nbsp; have a filter on "Quarter" - both "Audit" and "Action" have "Quarter" field, which alone is left unqualified in the load script - as this creates a circular reference. In fact, I cannot connect "Audit" and "Action" on any field: any connection will close the loop. I can, of course, qualify "Quarter", and have two disconnected "Quarter" filters - operating on, effectively, two different fields - but that does not look good to my users.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It sounds like I just can't have SECTION ACCESS permissions for both audits and actions AND a common field between "audit" and "action" islands. The only workaround I can think of is "compress two tables into one":&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;a. have a data table created with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select AuditID as EntityID,&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from Audit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;union all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select ActionID as EntityID, *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from Action&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;b. have&amp;nbsp; a permissions table created with&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;select AuditID as EntityID,&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from IdentityAudit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;union all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select ActionID as EntityID, *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from identityAction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a better way?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1726542#M55383</guid>
      <dc:creator>demyan1</dc:creator>
      <dc:date>2024-11-16T01:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS dynamic row reduction with *two* permissioned-entity types, and circular referenc</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1731871#M55859</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We just released a new video in our YouTube channel related to your question.&lt;BR /&gt;I hope it helps!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IPC Tips - Removing Circular References&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://youtu.be/s-QA8fbQDC4" target="_blank" rel="noopener"&gt;https://youtu.be/s-QA8fbQDC4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 18:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1731871#M55859</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2020-07-29T18:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS dynamic row reduction with *two* permissioned-entity types, and circular referenc</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1731915#M55863</link>
      <description>&lt;P&gt;Future readers of this thread - don't waste your time, the video doesn't help, and it's not good.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 22:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1731915#M55863</guid>
      <dc:creator>demyan1</dc:creator>
      <dc:date>2020-07-29T22:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS dynamic row reduction with *two* permissioned-entity types, and circular referenc</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1732083#M55875</link>
      <description>&lt;P&gt;I'm sorry to hear that the video did not help you to better understand and solve your problem.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 13:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-dynamic-row-reduction-with-two-permissioned/m-p/1732083#M55875</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2020-07-30T13:07:24Z</dc:date>
    </item>
  </channel>
</rss>

