<?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 section access and the use of &amp;quot;dummy rows&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/section-access-and-the-use-of-quot-dummy-rows-quot/m-p/2484121#M1226144</link>
    <description>&lt;P&gt;While this is no longer a problem in QlikSense, I wanted to ask and confirm that it is still a problem in QlikView...&lt;/P&gt;
&lt;P&gt;An application exists already which provides data organized by a facility id which, previously was accessible to all. Now, the use case is that some new users will be added but they are only allowed to access 2 or 3 of the 40-50 facility ids.&lt;/P&gt;
&lt;P&gt;What I WISH I could do is add section access with ADMIN role for the AD group that currently has access and then specify the new users to be restricted. But you can't do it like this&lt;/P&gt;
&lt;PRE&gt;Section Access;&lt;BR /&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, NTNAME, RESTRICTFACILITY&lt;BR /&gt;ADMIN, ADGROUPNAME, *&lt;BR /&gt;USER, NEWPERSON, FACILITY001&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Section Application;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;because the * will only provide access for FACILITY001. I think I have to loop over the existing data in the load script and generate "dummy rows" like this:&lt;/P&gt;
&lt;PRE&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, NTNAME, RESTRICTFACILITY&lt;BR /&gt;ADMIN, ADGROUPNAME,&amp;nbsp;FACILITY001&lt;BR /&gt;ADMIN, ADGROUPNAME,&amp;nbsp;FACILITY002&lt;BR /&gt;ADMIN, ADGROUPNAME,&amp;nbsp;FACILITY003&lt;BR /&gt;USER, NEWPERSON, FACILITY001&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;Is this still how it works?&lt;/P&gt;
&lt;P&gt;Even better would be if something like this worked:&lt;/P&gt;
&lt;PRE&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, NTNAME, RESTRICTFACILITY&lt;BR /&gt;ADMIN, *,&amp;nbsp;*&lt;BR /&gt;USER, NEWPERSON, FACILITY001&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;and yes, I have read the documentation and worked on this for years so a simple "yes, you have do the dummy rows" is fine if I have not missed some great solution.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 21:14:27 GMT</pubDate>
    <dc:creator>daveatkins</dc:creator>
    <dc:date>2024-09-27T21:14:27Z</dc:date>
    <item>
      <title>section access and the use of "dummy rows"</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-and-the-use-of-quot-dummy-rows-quot/m-p/2484121#M1226144</link>
      <description>&lt;P&gt;While this is no longer a problem in QlikSense, I wanted to ask and confirm that it is still a problem in QlikView...&lt;/P&gt;
&lt;P&gt;An application exists already which provides data organized by a facility id which, previously was accessible to all. Now, the use case is that some new users will be added but they are only allowed to access 2 or 3 of the 40-50 facility ids.&lt;/P&gt;
&lt;P&gt;What I WISH I could do is add section access with ADMIN role for the AD group that currently has access and then specify the new users to be restricted. But you can't do it like this&lt;/P&gt;
&lt;PRE&gt;Section Access;&lt;BR /&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, NTNAME, RESTRICTFACILITY&lt;BR /&gt;ADMIN, ADGROUPNAME, *&lt;BR /&gt;USER, NEWPERSON, FACILITY001&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Section Application;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;because the * will only provide access for FACILITY001. I think I have to loop over the existing data in the load script and generate "dummy rows" like this:&lt;/P&gt;
&lt;PRE&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, NTNAME, RESTRICTFACILITY&lt;BR /&gt;ADMIN, ADGROUPNAME,&amp;nbsp;FACILITY001&lt;BR /&gt;ADMIN, ADGROUPNAME,&amp;nbsp;FACILITY002&lt;BR /&gt;ADMIN, ADGROUPNAME,&amp;nbsp;FACILITY003&lt;BR /&gt;USER, NEWPERSON, FACILITY001&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;Is this still how it works?&lt;/P&gt;
&lt;P&gt;Even better would be if something like this worked:&lt;/P&gt;
&lt;PRE&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, NTNAME, RESTRICTFACILITY&lt;BR /&gt;ADMIN, *,&amp;nbsp;*&lt;BR /&gt;USER, NEWPERSON, FACILITY001&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;and yes, I have read the documentation and worked on this for years so a simple "yes, you have do the dummy rows" is fine if I have not missed some great solution.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 21:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-and-the-use-of-quot-dummy-rows-quot/m-p/2484121#M1226144</guid>
      <dc:creator>daveatkins</dc:creator>
      <dc:date>2024-09-27T21:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: section access and the use of "dummy rows"</title>
      <link>https://community.qlik.com/t5/QlikView/section-access-and-the-use-of-quot-dummy-rows-quot/m-p/2484141#M1226145</link>
      <description>&lt;P&gt;Hi, to use the *, and have the * with access to all values, yes, you need to load all values first.&lt;/P&gt;
&lt;P&gt;There is an alternative, creating a table between section access and the table with the RESTRICTFACILITY field, and create in that table the group of values, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SA_FACILITY:
LOAD RESTRICTFACILITY, 
  RESTRICTFACILITY as SA_FACILITY
Resident TableName
Concatenate (SA_FACILITY)
LOAD RESTRICTFACILITY,
  'ALL' as SA_FACILITY
Resident TableName;&lt;/LI-CODE&gt;
&lt;P&gt;With this you can use SA_FACILITY in section access and just use 'ALL', you can also add other predefined goups that are commonly used in your SA.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 06:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/section-access-and-the-use-of-quot-dummy-rows-quot/m-p/2484141#M1226145</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2024-09-28T06:41:27Z</dc:date>
    </item>
  </channel>
</rss>

