<?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 QMC Security Rule - How to restrict app publishing by stream? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QMC-Security-Rule-How-to-restrict-app-publishing-by-stream/m-p/106203#M7215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create &lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/ManagementConsole/Content/create-QMC-organizational-admin-roles.htm"&gt;QMC organizational admin roles&lt;/A&gt; for my power users to do publishing of their apps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the custom property for each stream by division. &lt;/P&gt;&lt;P&gt;Criteria 1: The user must be a Division Admin&lt;/P&gt;&lt;P&gt;Criteria 2: The user can publish any application belong to that division OR any application created by them&lt;/P&gt;&lt;P&gt;Criteria 3: The user can only publish in the division stream which the user belongs to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Security Rule (A)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((user.roles="DivisionAdmin")&lt;/P&gt;&lt;P&gt;and (resource.@Company_Division=user.@&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;_Division or resource.owner.name=user.name) &lt;/P&gt;&lt;P&gt;and (resource.stream.@&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;_Division=user.@&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;_Division) &lt;/P&gt;&lt;P&gt;and (resource.resourcetype="App" or resource.resourcetype="App.Object"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action: Create, Read, Update, Delete, Publish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;Security Rule (B)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have another security rules which gives read access of users to individual stream. (Governed by custom property)&lt;/P&gt;&lt;P&gt;Criteria 1: T&lt;SPAN style="font-size: 13.3333px;"&gt;he user can read any stream as long as given access to &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;My security rule goes like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;((resource.@Company_User_Stream_View=user.@Company_User_Stream_View))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Action: Read, Publish&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Following this thread, &lt;A href="https://community.qlik.com/message/1166153"&gt;Re: Can't publish a sheet&lt;/A&gt;‌, I am able to resolve the issue of missing publish button. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;However, I am not able not &lt;SPAN style="font-size: 13.3333px;"&gt;able to restrict my power users to publish applications in certain streams only. (i.e. Rule A, Criteria 3)&lt;/SPAN&gt;&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;Please advise, if you know the solution. Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2018 10:44:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-07T10:44:56Z</dc:date>
    <item>
      <title>QMC Security Rule - How to restrict app publishing by stream?</title>
      <link>https://community.qlik.com/t5/App-Development/QMC-Security-Rule-How-to-restrict-app-publishing-by-stream/m-p/106203#M7215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create &lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/ManagementConsole/Content/create-QMC-organizational-admin-roles.htm"&gt;QMC organizational admin roles&lt;/A&gt; for my power users to do publishing of their apps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the custom property for each stream by division. &lt;/P&gt;&lt;P&gt;Criteria 1: The user must be a Division Admin&lt;/P&gt;&lt;P&gt;Criteria 2: The user can publish any application belong to that division OR any application created by them&lt;/P&gt;&lt;P&gt;Criteria 3: The user can only publish in the division stream which the user belongs to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Security Rule (A)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((user.roles="DivisionAdmin")&lt;/P&gt;&lt;P&gt;and (resource.@Company_Division=user.@&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;_Division or resource.owner.name=user.name) &lt;/P&gt;&lt;P&gt;and (resource.stream.@&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;_Division=user.@&lt;SPAN style="font-size: 13.3333px;"&gt;Company&lt;/SPAN&gt;_Division) &lt;/P&gt;&lt;P&gt;and (resource.resourcetype="App" or resource.resourcetype="App.Object"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action: Create, Read, Update, Delete, Publish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;Security Rule (B)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have another security rules which gives read access of users to individual stream. (Governed by custom property)&lt;/P&gt;&lt;P&gt;Criteria 1: T&lt;SPAN style="font-size: 13.3333px;"&gt;he user can read any stream as long as given access to &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;My security rule goes like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;((resource.@Company_User_Stream_View=user.@Company_User_Stream_View))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Action: Read, Publish&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Following this thread, &lt;A href="https://community.qlik.com/message/1166153"&gt;Re: Can't publish a sheet&lt;/A&gt;‌, I am able to resolve the issue of missing publish button. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;However, I am not able not &lt;SPAN style="font-size: 13.3333px;"&gt;able to restrict my power users to publish applications in certain streams only. (i.e. Rule A, Criteria 3)&lt;/SPAN&gt;&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;Please advise, if you know the solution. Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 10:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QMC-Security-Rule-How-to-restrict-app-publishing-by-stream/m-p/106203#M7215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-07T10:44:56Z</dc:date>
    </item>
  </channel>
</rss>

