<?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: Streams  Security rules in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790398#M17501</link>
    <description>&lt;P&gt;Hi Sebastien,&lt;/P&gt;&lt;P&gt;I have modified the original rule you suggested, filtering a specific app, and it seems to be ok.&lt;/P&gt;&lt;P&gt;Any "side effects" I'm not aware of?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="APP RULE.png" style="width: 642px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50928i60C322263EA85497/image-size/large?v=v2&amp;amp;px=999" role="button" title="APP RULE.png" alt="APP RULE.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 09:03:59 GMT</pubDate>
    <dc:creator>dana</dc:creator>
    <dc:date>2021-03-11T09:03:59Z</dc:date>
    <item>
      <title>Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1789944#M17481</link>
      <description>&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;I have a couple of questions:&lt;/P&gt;&lt;P&gt;1. How can I limit a user to view in the hub only a specific stream?&lt;/P&gt;&lt;P&gt;2. I created a stream with Update for the user, but he still can't edit an app.&lt;/P&gt;&lt;P&gt;The rule is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StreamRule.png" style="width: 738px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50822i75F18AEF3DAEF8BE/image-dimensions/738x340?v=v2" width="738" height="340" role="button" title="StreamRule.png" alt="StreamRule.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1789944#M17481</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2024-11-16T00:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790066#M17484</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;This question depends on how much security rules customization you have already made.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Security rules are only permissive and not forbidding. This means that your security rule can be affected by other permissive security rules set in your environment. So my below explanation will be based on a default environment with no custom security rules:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To limit a user to see only a particular stream you can create a rule like below&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Filter: Stream_ID
Action: Read
Condition: User.name = "Username"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;You will also need to disable or modify the default security rule called "StreamEveryone". This rule gives access to the stream "Everyone" to any authenticated user.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding your second question, it depends what you are trying to edit. You are not supposed to edit the script or base sheet of a &lt;STRONG&gt;published&lt;/STRONG&gt; application. However you should be able to create/modify personal sheets. By default, if you have read permission in a stream (like above) you have those permissions.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 14:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790066#M17484</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-03-10T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790073#M17485</link>
      <description>&lt;P&gt;Hi Bastien,&lt;/P&gt;&lt;P&gt;re the 2nd question:&lt;/P&gt;&lt;P&gt;I realized that the specific user has an Analyzer license which is in a Quarantined status, and allocated a Professional license as well. Could that be the reason that the user cannot duplicate a sheet?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 14:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790073#M17485</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2021-03-10T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790082#M17486</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if the user has Professional license then it should be prioritized so I don't think this is the cause.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a quick test you can perform.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a security rule with the following parameters:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Filter: App*
Action: Read, Update, Create
Condition: User.name = "Username"&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;Note: This is just for testing purposes to understand if the issue comes from the security rules or the type of license.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 14:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790082#M17486</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-03-10T14:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790129#M17487</link>
      <description>&lt;P&gt;Hi Bastien,&lt;/P&gt;&lt;P&gt;Now it's working!&lt;/P&gt;&lt;P&gt;Can you explain the reason?&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 15:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790129#M17487</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2021-03-10T15:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790346#M17493</link>
      <description>&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;I would appreciate you kind help in defining a permanent solution.&lt;/P&gt;&lt;P&gt;Is the rule you suggested should be implemented as is or should I do something else&amp;nbsp; in order not to impact other users?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 04:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790346#M17493</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2021-03-11T04:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790362#M17494</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thanks for the test and this confirms that the issue is related to custom security rules.&lt;/P&gt;&lt;P&gt;In a default system, the fact that you would give "Read" permission to a stream will automatically gives you rights to see any application within that stream and create any AppObject (sheet, chart,...)&lt;/P&gt;&lt;P&gt;This is handled by two security rules named: "Stream" and "CreateAppObjectsPublishedApp"&lt;/P&gt;&lt;P&gt;The fact that it does not work in your environment means that at least one of these security rule has been altered or disabled or removed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you check these two rules and see if they have been customized or disabled (Feel free to attach a screenshot)?&lt;/P&gt;&lt;P&gt;By default they look like this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Name: Stream
Filter: App*
Action: Read
Condition: (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"))
Context: Both in hub and QMC

Name: CreateAppObjectsPublishedApp
Filter: App.Object_*
Action: Create
Condition: !resource.App.stream.Empty() and resource.App.HasPrivilege("read") and (resource.objectType = "userstate" or resource.objectType = "sheet" or resource.objectType = "story" or resource.objectType = "bookmark" or resource.objectType = "snapshot" or resource.objectType = "embeddedsnapshot" or resource.objectType = "hiddenbookmark") and !user.IsAnonymous()
Context: Only in hub&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Mar 2021 07:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790362#M17494</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-03-11T07:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790376#M17498</link>
      <description>&lt;P&gt;Hi Sebastien,&lt;/P&gt;&lt;P&gt;Thanks for you prompt reply.&lt;/P&gt;&lt;P&gt;Indeed, the Stream rule was modified (marked in red), whereas the&amp;nbsp;&amp;nbsp;CreateAppObjectsPublishedApp rule is the default one.&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;FONT color="#FF0000"&gt;and (resource.objectType != "sheet"))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;How does it impact?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 08:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790376#M17498</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2021-03-11T08:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790386#M17499</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes one will affect the other. Basically the rule "Stream" exclude the AppObject type "Sheet" and then as a result the security rule "CreateAppObjectsPublishedApp" does not apply specifically on AppObject type "Sheet".&lt;/P&gt;&lt;P&gt;To implement a proper solution, you may want to check internally with the person/team who implemented that change and understand what is the requirement / reason behind that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 08:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790386#M17499</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-03-11T08:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790398#M17501</link>
      <description>&lt;P&gt;Hi Sebastien,&lt;/P&gt;&lt;P&gt;I have modified the original rule you suggested, filtering a specific app, and it seems to be ok.&lt;/P&gt;&lt;P&gt;Any "side effects" I'm not aware of?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="APP RULE.png" style="width: 642px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50928i60C322263EA85497/image-size/large?v=v2&amp;amp;px=999" role="button" title="APP RULE.png" alt="APP RULE.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 09:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790398#M17501</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2021-03-11T09:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790401#M17502</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This rule is very permissive (too permissive) and was just meant to confirm the issue was security rule related.&lt;/P&gt;&lt;P&gt;If you do not wish to restore the original rule "Stream" then I would suggest to at least disable the action "Create" and "Update" from the rule "PM-BI App Permissions". This should work since the rule&amp;nbsp;&lt;SPAN&gt;"CreateAppObjectsPublishedApp" hasn't been changed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 09:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790401#M17502</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-03-11T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Streams  Security rules</title>
      <link>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790486#M17505</link>
      <description>&lt;P&gt;Thank you very much, Bastien!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 12:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Streams-Security-rules/m-p/1790486#M17505</guid>
      <dc:creator>dana</dc:creator>
      <dc:date>2021-03-11T12:18:15Z</dc:date>
    </item>
  </channel>
</rss>

