<?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>article Security Rule Example: Allow access to Data Load Editor on an app in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/ta-p/1716897</link>
    <description>&lt;P&gt;We in Qlik Support have virtually no scope when it comes to debugging or writing custom security rules for customers. That level of implementation advice needs to be handled by the folks in Professional Services or Presales. That being said, this example is provided for demonstration purposes to explain a specific scenario. No Support or maintenance is implied or provided. Further customization is expected to be necessary and it is the responsibility of the end administrator to test and implement an appropriate rule for their specific use case.&amp;nbsp;For access to more tips and tricks, best practices, and ever-evolving creative solutions, we recommend joining us in our active&amp;nbsp;&lt;A href="https://community.qlik.com/" target="_blank" rel="noopener"&gt;Qlik Community&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;In this scenario, the administrator wants to grant access to the Data Load Editor on a series of apps which the user or set of users already have read rights to.&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Setup:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Name: &lt;SPAN&gt;&lt;STRONG&gt;_DLEUserAccess&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Description / Explanation: &lt;I&gt;This rule will grant update rights to an application based on the inherited Read rights provided elsewhere. Update rights to an app are necessary to see the Data Load Editor Option&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Resource filter(s): &lt;SPAN&gt;&lt;STRONG&gt;App_*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Action(s): &lt;SPAN&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Conditions: &lt;SPAN&gt;&lt;STRONG&gt;resource.resourcetype = "App" and resource.Stream.HasPrivilege("read") and (user.name="User2")&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: In this example we are using a statically defined user.name value. In a realistic scenario you would want to have a more robust user selection criteria (e.g. &lt;SPAN&gt;user.group="BI Developers"&lt;/SPAN&gt; if there is group membership which selects the specific users which you want to target).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Note2&lt;/STRONG&gt;: This example assumes Authentication Setup is on Stream level -- the user is allowed to access all Apps under a Stream that he/she has "read" access on. Thus&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;resource.Stream.HasPrivilege("read")&lt;/STRONG&gt;&lt;/SPAN&gt;. In a realistic scenario, depending on the exact Authentication setup, modification on this condition may be required.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Name: &lt;SPAN&gt;&lt;STRONG&gt;_ScriptUserAccess&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Description / Explanation: &lt;I&gt;This rule will grant read and update rights to specific app objects which scope to the load script of an app based on the inherited Read rights on the app provided elsewhere.&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Resource filter(s): &lt;SPAN&gt;&lt;STRONG&gt;App.Object_*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Action(s): &lt;SPAN&gt;&lt;STRONG&gt;Read, Update&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Conditions:&lt;SPAN&gt; &lt;STRONG&gt;((resource.objectType="loadmodel" or resource.objectType="app_appscript")) and resource.app.HasPrivilege("read")&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;Note: In this example we are using a statically defined user.name value. In a realistic scenario you would want to have a more robust user selection criteria (e.g. user.group="BI Developers" if there is group membership which selects the specific users which you want to target).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Sample with Screenshots:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Before applying above rules, &lt;STRONG&gt;User 2&lt;/STRONG&gt; has "Read" Access to the Stream where App "&lt;STRONG&gt;12345&lt;/STRONG&gt;" is in. "&lt;STRONG&gt;12345&lt;/STRONG&gt;" is owned by another user. So &lt;STRONG&gt;User 2&lt;/STRONG&gt;&amp;nbsp;has no access to &lt;STRONG&gt;Data Load Editor&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 427px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57204i4925FCDF9FB8E295/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Create the 1st rule, which grants "&lt;STRONG&gt;update" &lt;/STRONG&gt;to &lt;STRONG&gt;User2&lt;/STRONG&gt; on&amp;nbsp;App &lt;STRONG&gt;12345&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 563px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57205iB5336CE07D194266/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 397px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57206i44135B601A1F1C90/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;At this point &lt;STRONG&gt;User2&lt;/STRONG&gt; still cannot access Script Editor of App &lt;STRONG&gt;12345&lt;/STRONG&gt;(Even though &lt;STRONG&gt;Data model viewer&lt;/STRONG&gt; shows up):&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 358px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57208i75E8689EF21F44DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Now create the 2nd rule:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 545px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57209i7238D38388AF006E/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Now,&amp;nbsp;&lt;STRONG&gt;User2&lt;/STRONG&gt; has access to &lt;STRONG&gt;Data Load Editor&lt;/STRONG&gt;(and Data Manager) of App &lt;STRONG&gt;12345&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 421px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57210iE56983D195EC0F7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Thu, 11 Nov 2021 14:48:43 GMT</pubDate>
    <dc:creator>Andre_Sostizzo</dc:creator>
    <dc:date>2021-11-11T14:48:43Z</dc:date>
    <item>
      <title>Security Rule Example: Allow access to Data Load Editor on an app</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/ta-p/1716897</link>
      <description>&lt;P&gt;We in Qlik Support have virtually no scope when it comes to debugging or writing custom security rules for customers. That level of implementation advice needs to be handled by the folks in Professional Services or Presales. That being said, this example is provided for demonstration purposes to explain a specific scenario. No Support or maintenance is implied or provided. Further customization is expected to be necessary and it is the responsibility of the end administrator to test and implement an appropriate rule for their specific use case.&amp;nbsp;For access to more tips and tricks, best practices, and ever-evolving creative solutions, we recommend joining us in our active&amp;nbsp;&lt;A href="https://community.qlik.com/" target="_blank" rel="noopener"&gt;Qlik Community&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;In this scenario, the administrator wants to grant access to the Data Load Editor on a series of apps which the user or set of users already have read rights to.&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Setup:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Name: &lt;SPAN&gt;&lt;STRONG&gt;_DLEUserAccess&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Description / Explanation: &lt;I&gt;This rule will grant update rights to an application based on the inherited Read rights provided elsewhere. Update rights to an app are necessary to see the Data Load Editor Option&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Resource filter(s): &lt;SPAN&gt;&lt;STRONG&gt;App_*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Action(s): &lt;SPAN&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Conditions: &lt;SPAN&gt;&lt;STRONG&gt;resource.resourcetype = "App" and resource.Stream.HasPrivilege("read") and (user.name="User2")&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: In this example we are using a statically defined user.name value. In a realistic scenario you would want to have a more robust user selection criteria (e.g. &lt;SPAN&gt;user.group="BI Developers"&lt;/SPAN&gt; if there is group membership which selects the specific users which you want to target).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Note2&lt;/STRONG&gt;: This example assumes Authentication Setup is on Stream level -- the user is allowed to access all Apps under a Stream that he/she has "read" access on. Thus&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;resource.Stream.HasPrivilege("read")&lt;/STRONG&gt;&lt;/SPAN&gt;. In a realistic scenario, depending on the exact Authentication setup, modification on this condition may be required.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Name: &lt;SPAN&gt;&lt;STRONG&gt;_ScriptUserAccess&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Description / Explanation: &lt;I&gt;This rule will grant read and update rights to specific app objects which scope to the load script of an app based on the inherited Read rights on the app provided elsewhere.&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Resource filter(s): &lt;SPAN&gt;&lt;STRONG&gt;App.Object_*&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Action(s): &lt;SPAN&gt;&lt;STRONG&gt;Read, Update&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Conditions:&lt;SPAN&gt; &lt;STRONG&gt;((resource.objectType="loadmodel" or resource.objectType="app_appscript")) and resource.app.HasPrivilege("read")&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;Note: In this example we are using a statically defined user.name value. In a realistic scenario you would want to have a more robust user selection criteria (e.g. user.group="BI Developers" if there is group membership which selects the specific users which you want to target).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Sample with Screenshots:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Before applying above rules, &lt;STRONG&gt;User 2&lt;/STRONG&gt; has "Read" Access to the Stream where App "&lt;STRONG&gt;12345&lt;/STRONG&gt;" is in. "&lt;STRONG&gt;12345&lt;/STRONG&gt;" is owned by another user. So &lt;STRONG&gt;User 2&lt;/STRONG&gt;&amp;nbsp;has no access to &lt;STRONG&gt;Data Load Editor&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 427px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57204i4925FCDF9FB8E295/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Create the 1st rule, which grants "&lt;STRONG&gt;update" &lt;/STRONG&gt;to &lt;STRONG&gt;User2&lt;/STRONG&gt; on&amp;nbsp;App &lt;STRONG&gt;12345&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 563px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57205iB5336CE07D194266/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 397px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57206i44135B601A1F1C90/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;At this point &lt;STRONG&gt;User2&lt;/STRONG&gt; still cannot access Script Editor of App &lt;STRONG&gt;12345&lt;/STRONG&gt;(Even though &lt;STRONG&gt;Data model viewer&lt;/STRONG&gt; shows up):&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 358px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57208i75E8689EF21F44DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Now create the 2nd rule:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 545px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57209i7238D38388AF006E/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Now,&amp;nbsp;&lt;STRONG&gt;User2&lt;/STRONG&gt; has access to &lt;STRONG&gt;Data Load Editor&lt;/STRONG&gt;(and Data Manager) of App &lt;STRONG&gt;12345&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 421px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57210iE56983D195EC0F7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/ta-p/1716897</guid>
      <dc:creator>Andre_Sostizzo</dc:creator>
      <dc:date>2021-11-11T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule Example: Allow access to Data Load Editor on an app</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/1795334#M2132</link>
      <description>&lt;P&gt;We tried using the above rules, but it does not show the Data Manager link to us - these rules did open up the Data Load Editor and Data Model.&lt;/P&gt;&lt;P&gt;Could you please help us with a rule to open the Data Manager.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 14:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/1795334#M2132</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2021-03-29T14:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule Example: Allow access to Data Load Editor on an app</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/1990096#M7475</link>
      <description>&lt;P&gt;Hi Andre,&lt;BR /&gt;sorry to bother you.&lt;/P&gt;
&lt;P&gt;I'm not very good with this kind of setting. I have the reverse problem. I have a Professional user (I need to use the VixLib writeback features) and I would like to inhibit some possibilities (user XXX only):&lt;/P&gt;
&lt;P&gt;1 Data Manager&lt;BR /&gt;2 Data Load Editor&lt;BR /&gt;3 Create new app (in hub)&lt;/P&gt;
&lt;P&gt;Qalu is the syntax I should use?&lt;BR /&gt;Where can I find all the rules and functions to enable / disable?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Many thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 11:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/1990096#M7475</guid>
      <dc:creator>Roberto_Licciardello</dc:creator>
      <dc:date>2022-10-07T11:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule Example: Allow access to Data Load Editor on an app</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/1990225#M7477</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125805"&gt;@Roberto_Licciardello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend posting your query directly in our &lt;A href="https://community.qlik.com/t5/Deployment-Management/bd-p/qlik-sense-deployment" target="_blank" rel="noopener"&gt;Qlik Sense Management&lt;/A&gt; forum to make use of the wider reach of our community and our active support engineers. When posting, include the symptoms of your issue, any error messages that you have seen, and what troubleshooting steps you've already taken. Feel free to refer back to this article as an example of what you tried.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/1990225#M7477</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-10-07T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule Example: Allow access to Data Load Editor on an app</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/2476034#M14391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that possible to grant only read access? Only see the script but not to be able to modify the script.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 09:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/tac-p/2476034#M14391</guid>
      <dc:creator>Narges</dc:creator>
      <dc:date>2024-08-13T09:29:22Z</dc:date>
    </item>
  </channel>
</rss>

