<?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 Conceptual problem with Access Restriction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186415#M714416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a qlikview report of sales. the module is based on a full outher join of the following objects:&lt;/P&gt;&lt;P&gt;sales documents; sales lines; items;dealers,reps and so on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;now i need to create 3 types of users:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;super user&lt;/STRONG&gt; - can see all of the sales data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dealer&lt;/STRONG&gt; - can see all of the invoices issued for this dealer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rep&lt;/STRONG&gt; - can see all of the invoices belongs to shipping sites under this rep&lt;/P&gt;&lt;P&gt;now, there are invoices without a "dealer" or without a "rep".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this is my code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;star is *;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ACCESS,USERID,PASSWORD,DEALERCODE,U_REP&lt;/P&gt;&lt;P&gt;ADMIN,ADMIN,1,*,*&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;SELECT 'USER' ACCESS,CardCode USERID,-99999 PASSWORD,CardCode DEALERCODE,'*' U_REP FROM OCRD GROUP BY CardCode;&lt;/P&gt;&lt;P&gt;SELECT 'USER' ACCESS,REPLACE(U_Rep,' ','') USERID,-99999 PASSWORD,'*' DEALERCODE, U_REP FROM CRD1 WHERE AdresType='S' GROUP BY U_Rep;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, because the star means - data of all other users, if i logged in with a dealer who has an invoice without a rep, thie invoice would not be shown.&lt;/P&gt;&lt;P&gt;i'll be happy for any idea&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Shlomo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Nov 2010 16:18:11 GMT</pubDate>
    <dc:creator>m4u</dc:creator>
    <dc:date>2010-11-14T16:18:11Z</dc:date>
    <item>
      <title>Conceptual problem with Access Restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186415#M714416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a qlikview report of sales. the module is based on a full outher join of the following objects:&lt;/P&gt;&lt;P&gt;sales documents; sales lines; items;dealers,reps and so on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;now i need to create 3 types of users:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;super user&lt;/STRONG&gt; - can see all of the sales data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dealer&lt;/STRONG&gt; - can see all of the invoices issued for this dealer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rep&lt;/STRONG&gt; - can see all of the invoices belongs to shipping sites under this rep&lt;/P&gt;&lt;P&gt;now, there are invoices without a "dealer" or without a "rep".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this is my code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;star is *;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ACCESS,USERID,PASSWORD,DEALERCODE,U_REP&lt;/P&gt;&lt;P&gt;ADMIN,ADMIN,1,*,*&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;SELECT 'USER' ACCESS,CardCode USERID,-99999 PASSWORD,CardCode DEALERCODE,'*' U_REP FROM OCRD GROUP BY CardCode;&lt;/P&gt;&lt;P&gt;SELECT 'USER' ACCESS,REPLACE(U_Rep,' ','') USERID,-99999 PASSWORD,'*' DEALERCODE, U_REP FROM CRD1 WHERE AdresType='S' GROUP BY U_Rep;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, because the star means - data of all other users, if i logged in with a dealer who has an invoice without a rep, thie invoice would not be shown.&lt;/P&gt;&lt;P&gt;i'll be happy for any idea&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Shlomo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Nov 2010 16:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186415#M714416</guid>
      <dc:creator>m4u</dc:creator>
      <dc:date>2010-11-14T16:18:11Z</dc:date>
    </item>
    <item>
      <title>Conceptual problem with Access Restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186416#M714417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shlomo,&lt;/P&gt;&lt;P&gt;I have found with Section Access that you often have to add rows to the section access that include all permutations attached to a dummy user so that the * works for other users. Also I have found that nulls can be problematic - so you probably want to replace missing dealers and reps with the text 'No Dealer' and 'No Rep' and add these values into your Section Access.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Nov 2010 16:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186416#M714417</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2010-11-14T16:55:52Z</dc:date>
    </item>
    <item>
      <title>Conceptual problem with Access Restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186417#M714418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for your answer&lt;/P&gt;&lt;P&gt;shlomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 14:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conceptual-problem-with-Access-Restriction/m-p/186417#M714418</guid>
      <dc:creator>m4u</dc:creator>
      <dc:date>2010-11-17T14:52:31Z</dc:date>
    </item>
  </channel>
</rss>

