<?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 rule to exclude sheet in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73954#M4908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to remove the access to the Sheet named "Master" in all apps. The target set of users to remove the access from, do have access to it simply because they have access to the stream. I am pasting the Stream's security rule code:&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.objectType != "app_appscript" and resource.objectType != "loadmodel") and resource.app.stream.HasPrivilege("read"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to do to remove the access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess what needs to be done is add with AND a subcondition of the sheet name NOT being "Master". What is the syntax? Something like AND !(resource.resourcetype = "Sheet" AND resource.name="Master")?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2018 09:43:16 GMT</pubDate>
    <dc:creator>gmenoutis</dc:creator>
    <dc:date>2018-06-25T09:43:16Z</dc:date>
    <item>
      <title>Security rule to exclude sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73954#M4908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to remove the access to the Sheet named "Master" in all apps. The target set of users to remove the access from, do have access to it simply because they have access to the stream. I am pasting the Stream's security rule code:&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.objectType != "app_appscript" and resource.objectType != "loadmodel") and resource.app.stream.HasPrivilege("read"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to do to remove the access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess what needs to be done is add with AND a subcondition of the sheet name NOT being "Master". What is the syntax? Something like AND !(resource.resourcetype = "Sheet" AND resource.name="Master")?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 09:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73954#M4908</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-06-25T09:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Security rule to exclude sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73955#M4909</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;follow the instructions of Masaki hamano on this link: &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>Mon, 25 Jun 2018 09:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73955#M4909</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-06-25T09:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Security rule to exclude sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73956#M4910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would rather not have two security rules.&lt;/P&gt;&lt;P&gt;I have managed to achieve what I needed by using this:&lt;/P&gt;&lt;P&gt;Stream rule:&lt;/P&gt;&lt;P&gt;(entire_original_rule_code) and (resource.name!="Master")&lt;/P&gt;&lt;P&gt;This indeed hides the "Master" Sheet. However, I don't want things OTHER than the SHEET named so to be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try:&lt;/P&gt;&lt;P&gt;(entire_original_rule_code) and ((resource.objectType!="sheet") and (resource.name!="Master"))&lt;/P&gt;&lt;P&gt;then it hides all sheets!?! Is there an error in my logic? Why does it do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 10:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73956#M4910</guid>
      <dc:creator>gmenoutis</dc:creator>
      <dc:date>2018-06-25T10:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Security rule to exclude sheet</title>
      <link>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73957#M4911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I'm not a Qliksense QMC Pro.. It's not a tool I'm using everyday. but I'm sure &lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌ can help you on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 11:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Security-rule-to-exclude-sheet/m-p/73957#M4911</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-06-25T11:50:16Z</dc:date>
    </item>
  </channel>
</rss>

