<?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: Security  Rule to only allow certain people to export data from an app in a stream? in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Security-Rule-to-only-allow-certain-people-to-export-data-from/m-p/1584225#M13710</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/292"&gt;@mwallman&lt;/a&gt;&amp;nbsp;- Yes you can use a security rule to achieve this.&lt;/P&gt;&lt;P&gt;You will have to disable the default "&lt;STRONG&gt;ExportAppData&lt;/STRONG&gt;&lt;SPAN&gt;" rule in QMC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then create a new rule with the following;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resource&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;Filter&lt;/STRONG&gt; = APP_*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Action&lt;/STRONG&gt; = Export Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Conditions =&lt;/STRONG&gt;&amp;nbsp;&lt;EM&gt;resource.HasPrivilege("read") and (user.name="A")&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: I would recommend&amp;nbsp;that you use either group or custom property for these 5 users and built the rule using the custom property rather&amp;nbsp;than using the user names. That way you never have to change the security rule to add user, instead you just assign&amp;nbsp;the user a custom property.&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;EX:&amp;nbsp;&lt;/STRONG&gt;Create a custom property called "ExportData" with value "ExportAllowed". And then change the condition as per below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Conditions&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;resource.HasPrivilege("read") and (user.@ExportData="ExportAllowed")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem. Have a good day.&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 23:21:56 GMT</pubDate>
    <dc:creator>s_kabir_rab</dc:creator>
    <dc:date>2019-05-23T23:21:56Z</dc:date>
    <item>
      <title>Security  Rule to only allow certain people to export data from an app in a stream?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-Rule-to-only-allow-certain-people-to-export-data-from/m-p/1584018#M13706</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;How can I write a good Security Rule to only allow certain people to export data from an app in a stream?&lt;/P&gt;&lt;P&gt;For example I have an app in the Everyone stream called Sales Insight.&lt;/P&gt;&lt;P&gt;There are 5,000 users for this app but I only want 5 people to be able to export data from this app who have read permissions to the app. The people are:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4455455&lt;/TD&gt;&lt;TD&gt;Joe Bloggs&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5666767&lt;/TD&gt;&lt;TD&gt;Chris Jones&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3467868&lt;/TD&gt;&lt;TD&gt;Pete Mack&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7889845&lt;/TD&gt;&lt;TD&gt;Pat Post&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9966745&lt;/TD&gt;&lt;TD&gt;Michelle Huggins&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 23 May 2019 15:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-Rule-to-only-allow-certain-people-to-export-data-from/m-p/1584018#M13706</guid>
      <dc:creator>mwallman</dc:creator>
      <dc:date>2019-05-23T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Security  Rule to only allow certain people to export data from an app in a stream?</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-Rule-to-only-allow-certain-people-to-export-data-from/m-p/1584225#M13710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/292"&gt;@mwallman&lt;/a&gt;&amp;nbsp;- Yes you can use a security rule to achieve this.&lt;/P&gt;&lt;P&gt;You will have to disable the default "&lt;STRONG&gt;ExportAppData&lt;/STRONG&gt;&lt;SPAN&gt;" rule in QMC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then create a new rule with the following;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resource&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;Filter&lt;/STRONG&gt; = APP_*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Action&lt;/STRONG&gt; = Export Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Conditions =&lt;/STRONG&gt;&amp;nbsp;&lt;EM&gt;resource.HasPrivilege("read") and (user.name="A")&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: I would recommend&amp;nbsp;that you use either group or custom property for these 5 users and built the rule using the custom property rather&amp;nbsp;than using the user names. That way you never have to change the security rule to add user, instead you just assign&amp;nbsp;the user a custom property.&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;EX:&amp;nbsp;&lt;/STRONG&gt;Create a custom property called "ExportData" with value "ExportAllowed". And then change the condition as per below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Conditions&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;resource.HasPrivilege("read") and (user.@ExportData="ExportAllowed")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem. Have a good day.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 23:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-Rule-to-only-allow-certain-people-to-export-data-from/m-p/1584225#M13710</guid>
      <dc:creator>s_kabir_rab</dc:creator>
      <dc:date>2019-05-23T23:21:56Z</dc:date>
    </item>
  </channel>
</rss>

