<?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 An Error Occured : Access denied in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410826#M33118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created and published an app.&amp;nbsp; But other than the owner of the report all the other users get the error:&amp;nbsp; &lt;/P&gt;&lt;P&gt;An error occured. Access denied&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 14:11:24 GMT</pubDate>
    <dc:creator>nkaruwon</dc:creator>
    <dc:date>2017-10-06T14:11:24Z</dc:date>
    <item>
      <title>An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410826#M33118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created and published an app.&amp;nbsp; But other than the owner of the report all the other users get the error:&amp;nbsp; &lt;/P&gt;&lt;P&gt;An error occured. Access denied&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 14:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410826#M33118</guid>
      <dc:creator>nkaruwon</dc:creator>
      <dc:date>2017-10-06T14:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410827#M33119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you happen to have section access in your app?&lt;/P&gt;&lt;P&gt;And one other thing - make sure all of your users have access to this stream.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 15:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410827#M33119</guid>
      <dc:creator>kuczynska</dc:creator>
      <dc:date>2017-10-06T15:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410828#M33120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michalina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I do have section access within the app and the users do have access to the app.&amp;nbsp; I removed section access and I am able to open the app.&amp;nbsp; However The section access is a critical requirement for the project I am working on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 08:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410828#M33120</guid>
      <dc:creator>nkaruwon</dc:creator>
      <dc:date>2017-10-11T08:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410829#M33121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to make sure then that the login you are using has a correctly set reductionlist in section access, i.e. you need to revisit probably the entire section access development as something isn't correct. Make sure that admin user has access to everything, by putting * in reduction field. Absolutely achievable, there is probably a small error you simply need to fix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can always share a sample list of users &amp;amp; permissions if you want us to have a look at it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 08:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410829#M33121</guid>
      <dc:creator>kuczynska</dc:creator>
      <dc:date>2017-10-11T08:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410830#M33122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that everything you have used in Section access code is in Upper Case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410830#M33122</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-10-11T11:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410831#M33123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please share the section access script.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410831#M33123</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-11T11:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: An Error Occured : Access denied</title>
      <link>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410832#M33124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Pradosh&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;Here is a portion of the section access which I have up to now been unable to implement.&amp;nbsp; I have some client who wants to share their app with their suppliers.&amp;nbsp; If a user from Supplier A logs on they should be able to clearly see their records but also be able to benchmark against their competition (Suppler B, Supplier C etc).without know who these are.&amp;nbsp; The systems administrator shoule be able to see all records without being de-identified.&amp;nbsp; I have tried to follow some direction on post&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2156" data-containertype="14" data-objectid="18235" data-objecttype="102" href="https://community.qlik.com/docs/DOC-18235"&gt;https://community.qlik.com/docs/DOC-18235&lt;/A&gt;&lt;SPAN&gt; but have not gotten the desired results.&amp;nbsp; So as i was testing thats when i started experiencing the access issue when I try to access the app as another user who should see the other recored as de-identified.&amp;nbsp; I am needing to de-identify the Group and the Company across about 19 groups.&amp;nbsp; Find below the script.&amp;nbsp; I could not locate how i could attache the whole app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;UserList:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load * inline [&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USERID, Insurance_Group__c&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;advancenet\hilda.mortu,'Auction Nation'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;advancenet\psd.reports1,Bryte&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\edingtonz,Brolink&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\nehemiahk,&amp;lt;ANY&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\Train1,Discovery&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train2,'Epic Underwriting'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train3,Excelsure&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train4,Hallmark&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train4,Integrisure&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\psd.train2,Integritas&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\psd,IWYZE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\reports1,'Lion of Africa'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train6,MiWay&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train7,MUA&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train8,'Old Mutual Insure'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train9,Outsurance&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train11,Santam&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\Train12,'Standard Bank'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\Train13,Telesure&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train14,'Tetelestai Risk'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train15,Xenturion&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advancenet\train16,YouI&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;]; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//Load Invoice Line Details&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[Invoice Line Detail]:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD CreatedDate AS InvLineDateCreated, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Invoice__c AS InvoiceNo,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(CreatedDate) &amp;amp; ' - '&amp;amp; Month(CreatedDate)&amp;nbsp; AS PeriodNameInv,&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(CreatedDate) AS YearInv,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOnth(CreatedDate) as MonthInv,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Line_Item_Amount__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Line_Item_Total__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code__c,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;RecordType_Name__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insured_Value__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insured_value_ext_vat__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Invoice_Paid__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;InvoiceRecordTypeName__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Group__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Company__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Keys__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Starts__c, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Claim_Number__c,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Documentation_recieved_date__c&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE YEAR(Documentation_recieved_date__c) &amp;gt;=2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND CreatedDate&amp;gt;=2017;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SELECT * FROM Invoice_Line_Item__c;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// load users deidentified permissions&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ACL_Users_Step1:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USERID as USERID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'USER' as ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;0 as _FlagIdentified,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Group__c as _UserInsuranceGroup&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; //&amp;nbsp; Insurance_Company__c as _UserInsuranceCompany&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident UserList&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;WHERE upper(Insurance_Group__c) &amp;lt;&amp;gt; '&amp;lt;ANY&amp;gt;' ;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// join ALL possible Insurance Groups&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;join (ACL_Users_Step1)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Group__c as _FactInsuranceGroup&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Insurance_Company__c as _FactInsuranceCompany&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; resident [Invoice Line Detail];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// de-identified Insurance Groups and Brokers&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ACL_Users:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;noconcatenate &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USERID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;_FlagIdentified,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;_FactInsuranceGroup&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; // _FactInsuranceCompany&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident ACL_Users_Step1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where _FactInsuranceGroup &amp;lt;&amp;gt; _UserInsuranceGroup;//&amp;nbsp; and [_FactInsuranceCompany] &amp;lt;&amp;gt; [_UserInsuranceCompany]; // keep ALL Insurance Groups except for the user's Insurance Group&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;drop table ACL_Users_Step1 ;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// load permissions for access ANY&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ACL_Users_ANY:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;noconcatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USERID as USERID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'USER' as ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1 as _FlagIdentified&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident UserList&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where upper(Insurance_Group__c) = '&amp;lt;ANY&amp;gt;' ; //and upper(Insurance_Company__c) = '&amp;lt;ANY&amp;gt;';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// join ALL possible Insurance Groups&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;join (ACL_Users_ANY)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Group__c as _FactInsuranceGroup&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Insurance_Company__c as _FactInsuranceCompany&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident [Invoice Line Detail];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate (ACL_Users)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USERID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;_FlagIdentified,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;_FactInsuranceGroup&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; // _FactInsuranceCompany&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident ACL_Users_ANY;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;drop table ACL_Users_ANY;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// load users identified permissions&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate (ACL_Users)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;USERID as USERID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'USER' as ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1 as _FlagIdentified,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Group__c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as _FactInsuranceGroup&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Insurance_Company__c as _FactInsuranceCompany&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident UserList;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;drop table UserList;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//UNCOMMENT THIS CODE BLOCK STARTING HERE &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;section access;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt; //create section table for users with a reduction field called ACCESS_KEY&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SA:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;noconcatenate load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;upper(USERID) as USERID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;upper(ACCESS) as ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;upper(_FlagIdentified &amp;amp; '--' &amp;amp; _FactInsuranceGroup) as ACCESS_KEY&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //upper(_FlagIdentified &amp;amp; '--' &amp;amp; _FactInsuranceCompany) as ACCESS_KEY_2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident ACL_Users;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// add an admin user to the section access table with access to all Insurance Groups&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SA:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'advancenet\nehemiahk' as USERID, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'ADMIN' as ACCESS,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1 &amp;amp; '--' &amp;amp; upper(Insurance_Group__c) as ACCESS_KEY&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; // 1 &amp;amp; '--' &amp;amp; upper(Insurance_Company__c) as ACCESS_KEY_2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident [Invoice Line Detail];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;section application;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//ENDING HERE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// load fact data and set flag identified to 1 &amp;amp; rename fields with sensitive data&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Fact:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;upper(_FlagIdentified &amp;amp; '--' &amp;amp; Insurance_Group__c) as ACCESS_KEY, // upper case required as this field is used for section access&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //upper(_FlagIdentified &amp;amp; '--' &amp;amp; Insurance_Company__c) as ACCESS_KEY_2,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1 as _FlagIdentified,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Insurance_Group__c as _InsuranceGroup,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Insurance_Company__c as _InsuranceCompany,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident [Invoice Line Detail];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// load fact data again and set flag identified to 0 &amp;amp; rename fields with sensitive data&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate (Fact)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;upper(_FlagIdentified &amp;amp; '--' &amp;amp; Insurance_Group__c) as ACCESS_KEY, // upper case required as this field is used for section access&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //upper(_FlagIdentified &amp;amp; '--' &amp;amp; Insurance_Company__c) as ACCESS_KEY_2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;0 as _FlagIdentified,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'De- Identified Insurance Group' as _InsuranceGroup,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'De- Identified Insurance Company' as _InsuranceCompany,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident [Invoice Line Detail];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;drop table [Invoice Line Detail];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;drop table ACL_Users;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// drop sensitive fields&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;drop fields Insurance_Group__c,Insurance_Company__c;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;// rename sensitive fields back&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;rename field _InsuranceGroup to Insurance_Group__c ;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;rename field _InsuranceCompany to Insurance_Company__c;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 16:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Error-Occured-Access-denied/m-p/1410832#M33124</guid>
      <dc:creator>nkaruwon</dc:creator>
      <dc:date>2017-10-12T16:08:55Z</dc:date>
    </item>
  </channel>
</rss>

