<?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 QS Security by application/user automated in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/QS-Security-by-application-user-automated/m-p/2046594#M29569</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently we are managing QS security at Stream level. We are loading an Excel file containing User/Stream relationship via User directory connectors. If we create a new Stream we only have to associate the user with the Excel loaded users and the value with the loaded Stream values:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DireStraits_0-1678259809484.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102242i0778B56380F748A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DireStraits_0-1678259809484.png" alt="DireStraits_0-1678259809484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works perfectly since it allows us to manage Stream/User security in an easy way. Now I'm trying to add security at application level while mantaining the same level of automation. The idea is to create a new file containing User/Application relationship and load this in an automated way. I want to avoid managing users in the qmc..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone knows if this is possible?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 07:25:15 GMT</pubDate>
    <dc:creator>DireStraits</dc:creator>
    <dc:date>2023-03-08T07:25:15Z</dc:date>
    <item>
      <title>QS Security by application/user automated</title>
      <link>https://community.qlik.com/t5/Management-Governance/QS-Security-by-application-user-automated/m-p/2046594#M29569</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently we are managing QS security at Stream level. We are loading an Excel file containing User/Stream relationship via User directory connectors. If we create a new Stream we only have to associate the user with the Excel loaded users and the value with the loaded Stream values:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DireStraits_0-1678259809484.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102242i0778B56380F748A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DireStraits_0-1678259809484.png" alt="DireStraits_0-1678259809484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works perfectly since it allows us to manage Stream/User security in an easy way. Now I'm trying to add security at application level while mantaining the same level of automation. The idea is to create a new file containing User/Application relationship and load this in an automated way. I want to avoid managing users in the qmc..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone knows if this is possible?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 07:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/QS-Security-by-application-user-automated/m-p/2046594#M29569</guid>
      <dc:creator>DireStraits</dc:creator>
      <dc:date>2023-03-08T07:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: QS Security by application/user automated</title>
      <link>https://community.qlik.com/t5/Management-Governance/QS-Security-by-application-user-automated/m-p/2047679#M29570</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/174317"&gt;@DireStraits&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it is possible. I did it using Custom Properties and AD groups.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a custom property like "AppLevelSecurity" and a&lt;SPAN&gt;dd the AD group names as values&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in the custom property.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Replace default "Stream" security rule with the following condition:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")&amp;nbsp;and (resource.@AppLevelSecurity.empty() or resource.@AppLevelSecurity = user.group)) or ((resource.resourcetype = "App.Object" and resource.published ="true" and resource.objectType != "app_appscript" and resource.objectType != "loadmodel") and resource.app.stream.HasPrivilege("read"))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;And then create a rule binding it to ad group, see the conditions below:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;((user.group=resource.@AppLevelSecurity ))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if this is helpful.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Eduardo Monteiro&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 02:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/QS-Security-by-application-user-automated/m-p/2047679#M29570</guid>
      <dc:creator>Eduardo_Monteiro</dc:creator>
      <dc:date>2023-03-10T02:39:14Z</dc:date>
    </item>
  </channel>
</rss>

