<?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: Separate Publishing of Sheets to Community and Publishing Apps to Streams in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605173#M14193</link>
    <description>&lt;P&gt;This was tested in a clean June 2019 environment, but in order to decouple things and isolate app publishing from app.object publishing, it was as simple as disabling the&amp;nbsp;&lt;STRONG&gt;OwnerPublishAppObject&lt;/STRONG&gt; rule.&lt;/P&gt;
&lt;P&gt;As background, up until September 2018, the right to publish to a stream and publish an App.Object were coupled. Beginning in September 2018, they can be de-coupled.&lt;/P&gt;
&lt;P&gt;An inspection of the condition for the&amp;nbsp;OwnerPublishAppObject rule is illustrative of this history:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;resource.IsOwned() and resource.owner = user and resource.approved = "false" and resource.app.stream.HasPrivilege("publish")&lt;/LI-CODE&gt;
&lt;P&gt;In plain English, so long as the App.Object is: (1) owned by the current user, (2) is not approved (aka isn't a base sheet), and (3) the user has the right to publish in the stream, then they can publish the App.Object.&lt;/P&gt;
&lt;P&gt;Disabling that rule prevents all users from publishing sheets to the Community in Published apps.&lt;/P&gt;
&lt;P&gt;If you wanted to provide&amp;nbsp;&lt;EM&gt;some&lt;/EM&gt; users the ability to publish to the Community then I would build out a new rule:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Name: Whatever&lt;/LI&gt;
&lt;LI&gt;Resource Filter: App.Object_*&lt;/LI&gt;
&lt;LI&gt;Actions: Publish:&lt;/LI&gt;
&lt;LI&gt;Conditions:&amp;nbsp;resource.IsOwned() and resource.owner = user and resource.approved = "false" and&amp;nbsp;&lt;STRONG&gt;SOME USER FILTER&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By removing the&amp;nbsp;resource.app.stream.HasPrivilege("publish") bit, you will no longer require the user to have publish rights on the stream to be able to publish a Sheet to the Community.&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2019 13:09:49 GMT</pubDate>
    <dc:creator>Levi_Turner</dc:creator>
    <dc:date>2019-07-23T13:09:49Z</dc:date>
    <item>
      <title>Separate Publishing of Sheets to Community and Publishing Apps to Streams</title>
      <link>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605048#M14187</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I have been trying to make some security rules work in Qlik Sense, but haven't been successful so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;My problem:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I want a few users to be able to publish apps from the hub (custom property user.@UserType="Developer") but I don't want anyone to be able to publish sheets to the community. Apparently, my security rules either let people do both or deny permission to do both. I am trying to split these actions to be controlled by two different security rules (as it is pointed out&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.qlik.com/articles/000059601" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;My original Security Rule (allows developers to publish in the community and publish app from hub):&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Resource:&amp;nbsp;Stream_*&lt;/P&gt;&lt;P&gt;Actions: Publish&lt;/P&gt;&lt;P&gt;Condition: ((user.@UserType="Developer"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can you help me figure out how to implement a security rule that only gives permission to publish apps from the hub but does not grant permission to publish a sheet to the community?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried a lot of different things to do that, for example:&lt;/P&gt;&lt;P&gt;Condition: user.@UserType="Developer" and&amp;nbsp;resource.objectType != "sheet"&lt;/P&gt;&lt;P&gt;Condition: user.@UserType="Developer" and resource.resourcetype="App" and resource.published ="false"&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resource:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000059601" target="_self" rel="nofollow noopener noreferrer"&gt;https://support.qlik.com/articles/000059601&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605048#M14187</guid>
      <dc:creator>caio_caminoski</dc:creator>
      <dc:date>2024-11-16T05:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Publishing of Sheets to Community and Publishing Apps to Streams</title>
      <link>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605082#M14188</link>
      <description>&lt;P&gt;What version of Qlik Sense are you on?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 10:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605082#M14188</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-07-23T10:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Publishing of Sheets to Community and Publishing Apps to Streams</title>
      <link>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605123#M14190</link>
      <description>&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;. The version is the June 2019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 12:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605123#M14190</guid>
      <dc:creator>caio_caminoski</dc:creator>
      <dc:date>2019-07-23T12:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Publishing of Sheets to Community and Publishing Apps to Streams</title>
      <link>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605173#M14193</link>
      <description>&lt;P&gt;This was tested in a clean June 2019 environment, but in order to decouple things and isolate app publishing from app.object publishing, it was as simple as disabling the&amp;nbsp;&lt;STRONG&gt;OwnerPublishAppObject&lt;/STRONG&gt; rule.&lt;/P&gt;
&lt;P&gt;As background, up until September 2018, the right to publish to a stream and publish an App.Object were coupled. Beginning in September 2018, they can be de-coupled.&lt;/P&gt;
&lt;P&gt;An inspection of the condition for the&amp;nbsp;OwnerPublishAppObject rule is illustrative of this history:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;resource.IsOwned() and resource.owner = user and resource.approved = "false" and resource.app.stream.HasPrivilege("publish")&lt;/LI-CODE&gt;
&lt;P&gt;In plain English, so long as the App.Object is: (1) owned by the current user, (2) is not approved (aka isn't a base sheet), and (3) the user has the right to publish in the stream, then they can publish the App.Object.&lt;/P&gt;
&lt;P&gt;Disabling that rule prevents all users from publishing sheets to the Community in Published apps.&lt;/P&gt;
&lt;P&gt;If you wanted to provide&amp;nbsp;&lt;EM&gt;some&lt;/EM&gt; users the ability to publish to the Community then I would build out a new rule:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Name: Whatever&lt;/LI&gt;
&lt;LI&gt;Resource Filter: App.Object_*&lt;/LI&gt;
&lt;LI&gt;Actions: Publish:&lt;/LI&gt;
&lt;LI&gt;Conditions:&amp;nbsp;resource.IsOwned() and resource.owner = user and resource.approved = "false" and&amp;nbsp;&lt;STRONG&gt;SOME USER FILTER&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By removing the&amp;nbsp;resource.app.stream.HasPrivilege("publish") bit, you will no longer require the user to have publish rights on the stream to be able to publish a Sheet to the Community.&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 13:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605173#M14193</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-07-23T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Separate Publishing of Sheets to Community and Publishing Apps to Streams</title>
      <link>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605226#M14198</link>
      <description>&lt;P&gt;Ahh! Great, I hadn't seen this security rule&amp;nbsp;&lt;STRONG&gt;OwnerPublishAppObject&lt;/STRONG&gt;. Disabling it did the work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 14:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Separate-Publishing-of-Sheets-to-Community-and-Publishing-Apps/m-p/1605226#M14198</guid>
      <dc:creator>caio_caminoski</dc:creator>
      <dc:date>2019-07-23T14:15:38Z</dc:date>
    </item>
  </channel>
</rss>

