<?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 Security rules to manage sheets visibility in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014770#M5416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to understand how working with securities rules. That is not easy nor intuitive. However my aim is&amp;nbsp; using sheet level security to manage the visibility of sheets.&lt;/P&gt;&lt;P&gt;Es.&lt;/P&gt;&lt;P&gt;UserTest1&amp;nbsp; has to access to Wsheet1 and Wsheet2&lt;/P&gt;&lt;P&gt;UserTest2 ha to access to Tsheet1 and Tsheet2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read others post, I have followed the detailed suggestions of&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/thread/155799"&gt;https://community.qlik.com/thread/155799&lt;/A&gt; -&lt;SPAN lang="EN-US" style="color: windowtext;"&gt;Sheet level Section Access in Qlik Sense ??&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp; &lt;/SPAN&gt;but, the second rules doesn't look working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also followed another way:&lt;/P&gt;&lt;P&gt;1) I have modified the stream template rule as following:&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true") and resource.app.stream.HasPrivilege("read")&amp;nbsp; and &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "W*" and user.name="usertest1") or&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "T*" and user.name="usertest2")&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't like the upper solution because the maintenance looks very hard and I am not able to predict the implication over others app.&amp;nbsp; I also would like give access privileges to groups and not to single user.&lt;/P&gt;&lt;P&gt;I have created two streams. In the first stream I insert a role that give access to Users that have to access to sheet1. In the second stream 2 I insert a role that give access to Users that have to access to sheet2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I tried to modify the upper role in the follow way:&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true") and resource.app.stream.HasPrivilege("read")&amp;nbsp; and &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "S*" &lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;Resource.Objecttype ="stream" and Resource.name='Stream1')) or&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "T*" and &lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;Resource.Objecttype ="stream" and Resource.name='Stream2')&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;It doesn't work and&amp;nbsp; the users aren't to able to access neither sheets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thabnk a lot for every help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Jan 2016 14:09:11 GMT</pubDate>
    <dc:creator>michele_stenico</dc:creator>
    <dc:date>2016-01-02T14:09:11Z</dc:date>
    <item>
      <title>Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014770#M5416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to understand how working with securities rules. That is not easy nor intuitive. However my aim is&amp;nbsp; using sheet level security to manage the visibility of sheets.&lt;/P&gt;&lt;P&gt;Es.&lt;/P&gt;&lt;P&gt;UserTest1&amp;nbsp; has to access to Wsheet1 and Wsheet2&lt;/P&gt;&lt;P&gt;UserTest2 ha to access to Tsheet1 and Tsheet2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read others post, I have followed the detailed suggestions of&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/thread/155799"&gt;https://community.qlik.com/thread/155799&lt;/A&gt; -&lt;SPAN lang="EN-US" style="color: windowtext;"&gt;Sheet level Section Access in Qlik Sense ??&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp; &lt;/SPAN&gt;but, the second rules doesn't look working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also followed another way:&lt;/P&gt;&lt;P&gt;1) I have modified the stream template rule as following:&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true") and resource.app.stream.HasPrivilege("read")&amp;nbsp; and &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "W*" and user.name="usertest1") or&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "T*" and user.name="usertest2")&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't like the upper solution because the maintenance looks very hard and I am not able to predict the implication over others app.&amp;nbsp; I also would like give access privileges to groups and not to single user.&lt;/P&gt;&lt;P&gt;I have created two streams. In the first stream I insert a role that give access to Users that have to access to sheet1. In the second stream 2 I insert a role that give access to Users that have to access to sheet2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I tried to modify the upper role in the follow way:&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true") and resource.app.stream.HasPrivilege("read")&amp;nbsp; and &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "S*" &lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;Resource.Objecttype ="stream" and Resource.name='Stream1')) or&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "T*" and &lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;Resource.Objecttype ="stream" and Resource.name='Stream2')&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;It doesn't work and&amp;nbsp; the users aren't to able to access neither sheets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thabnk a lot for every help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jan 2016 14:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014770#M5416</guid>
      <dc:creator>michele_stenico</dc:creator>
      <dc:date>2016-01-02T14:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014771#M5417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread should help you restrict access by sheet level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/155799"&gt;Sheet level Section Access in Qlik Sense ??&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014771#M5417</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-01-03T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014772#M5418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SanGram,&lt;/P&gt;&lt;P&gt;sorry for&amp;nbsp; answering on late, I have been away on Holiday. &lt;/P&gt;&lt;P&gt;However I tried to follow the post that you have marked, but It doesn't work:&lt;/P&gt;&lt;P&gt;1) the first script avoids to all users to access to the sheets. It is OK&lt;/P&gt;&lt;P&gt;2) the second script doesn't override the first one and all users are not still able to access the sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other question it is the way that I can use to give the access privileges to groups or stream instead to give the access to the single user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 19:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014772#M5418</guid>
      <dc:creator>michele_stenico</dc:creator>
      <dc:date>2016-01-06T19:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014773#M5419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Managing the access of the user through Custom properties is handy as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create custom properties, Assign a value to each user and make use of it in the security rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sangram Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 11:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014773#M5419</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-01-07T11:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014774#M5420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank a lot,&lt;/P&gt;&lt;P&gt;I have created a Custom Properties named @BSCGroup and I have associated it to the User Resource Type. Thus I inserted two occurences T and S.&lt;/P&gt;&lt;P&gt;Then I have modified the security rule as follow:&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true") and resource.app.stream.HasPrivilege("read")&amp;nbsp; and &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "S*" and user.@BSCGroup="S") or&lt;/P&gt;&lt;P&gt;(resource.objectType ="sheet" and resource.name like "T*" and user.@BSCGroup="T")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It correctly works&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 11:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014774#M5420</guid>
      <dc:creator>michele_stenico</dc:creator>
      <dc:date>2016-01-07T11:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014775#M5421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Glad that solved your issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I use custom properties and are very handy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 12:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014775#M5421</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-01-07T12:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Security rules to manage sheets visibility</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014776#M5422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was reading your comments and stuck in same problem which you had:&lt;/P&gt;&lt;P&gt;I am mentioning the process I followed below step wise:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Disabled By default Stream access rule &lt;/P&gt;&lt;P&gt;2. Created a Custom Property &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;@Stream_Access&lt;/STRONG&gt;&lt;/SPAN&gt; with resources type Stream and User and used as below :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;((user.@Stream_Access="Assistant" and resource.@Stream_Access="Assistant"))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Created a Custom Property with resource type user and app and used as :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;((user.@AppAccess="AppAccess" and resource.@AppAccess="AppAccess"))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Created another &lt;SPAN style="font-size: 13.3333px;"&gt;Custom Property&lt;/SPAN&gt; with resource type &lt;STRONG&gt;User &lt;/STRONG&gt;with value &lt;STRONG&gt;"First"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and created a new security rule by following your one as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true") and resource.app.stream.HasPrivilege("read")&amp;nbsp; and&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(user.@AccesstoSheet="First" and resource.objectType="sheet" and resource.name="JzJMza")&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Custom Property: @AccesstoSheet with value &lt;SPAN style="font-size: 13.3333px;"&gt;First and same assigned to concern user&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;JzJMza&lt;/STRONG&gt;: it is the sheet id i got from developer hub , single configuration and copied by URL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now when I login with my concern user there are no sheet is available there as Concern User donot have any sheet acess.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can you please help me to know what I am doing wrong and missing&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 07:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rules-to-manage-sheets-visibility/m-p/1014776#M5422</guid>
      <dc:creator>rohitk1609</dc:creator>
      <dc:date>2017-01-30T07:39:36Z</dc:date>
    </item>
  </channel>
</rss>

