<?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: security rule to publish an application according Custom Property in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653068#M15231</link>
    <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To come back to my original question, I tried the security rule:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Resource filter: App_*,Stream_*&lt;/LI&gt;&lt;LI&gt;action: "publish"&lt;/LI&gt;&lt;LI&gt;conditions: ((app.@SECURITY=app.stream.@SECURITY))&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The rule is "validated" but does not work as expected (in the hub, when trying to publish, nothing is proposed in the stream list...)&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 11:38:51 GMT</pubDate>
    <dc:creator>fabricecallegari</dc:creator>
    <dc:date>2019-12-02T11:38:51Z</dc:date>
    <item>
      <title>security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1640139#M15003</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;"@Customer" custom property is available for apps, stream and users.&lt;/P&gt;&lt;P&gt;An app and a stream are assigned to 1 value of @Customer.&lt;/P&gt;&lt;P&gt;A user can be assigned to many values of @Customer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a rule that allow users to publish an application according this custom property. Something like that (security rule to publish, stream resource):&lt;/P&gt;&lt;P&gt;((user.@CUSTOMER = resource.stream.@CUSTOMER&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;user.@CUSTOMER = resource.app.@CUSTOMER))&lt;/P&gt;&lt;P&gt;but it does not work (no stream availbale when I try to publish).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help me to create this rule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1640139#M15003</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2024-11-16T04:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1640305#M15009</link>
      <description>&lt;P&gt;Hi Fabrice, you don't need to access the stream from the resource, the resource is already the stream, so maybe is just:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((user.@CUSTOMER = resource.@CUSTOMER))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I'm not sure how to check both properties in one shot (stream and app properties) maybe swiching the resource to both: app and stream?&lt;/P&gt;&lt;P&gt;BTW, I think you can't access app from stream, the opposite works (app.stream) because an app is in only one stream but I have doubts about the stream.app (or resource.app when the resource is a stream).&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 11:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1640305#M15009</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-10-28T11:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1640542#M15014</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried ((user.@CUSTOMER = resource.@CUSTOMER)) with resources app and stream but it doesn't work.&lt;/P&gt;&lt;P&gt;The @CUSTOMER from the app is not take in account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 20:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1640542#M15014</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-10-28T20:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1641738#M15065</link>
      <description>&lt;P&gt;no one has another idea?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1641738#M15065</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-10-31T14:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1645403#M15139</link>
      <description>&lt;P&gt;no one to help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want to limit the publication of an application, in a stream with the custom property @CUSTOMER is the same for both application/stream?&lt;/P&gt;&lt;P&gt;At worst how can I publish an app in a stream (security rule to this stream) only for the application which have the custom property @CUSTOMER = "TOTO"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank in advance,&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 14:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1645403#M15139</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-11-11T14:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1652774#M15224</link>
      <description>&lt;P&gt;&amp;nbsp;I note that in the security rules, a comparison with custom properties is always with user.@CustomProperty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean it always reference the "user" resource. Is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 17:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1652774#M15224</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-11-29T17:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1652959#M15228</link>
      <description>&lt;P&gt;Hi, it's not a "must" but is the usual way to do it because usually you want to compare properties asssigned to the user to the ones assigned to other entities (stream, app, app_object, data connection...)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 07:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1652959#M15228</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-12-02T07:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653032#M15229</link>
      <description>&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;so if I don't want to compare custom properties from the user but between an app and a stream.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 10:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653032#M15229</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-12-02T10:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653038#M15230</link>
      <description>&lt;P&gt;app.@CustomProperty=app.stream.@CustomProperty&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653038#M15230</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-12-02T11:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653068#M15231</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To come back to my original question, I tried the security rule:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Resource filter: App_*,Stream_*&lt;/LI&gt;&lt;LI&gt;action: "publish"&lt;/LI&gt;&lt;LI&gt;conditions: ((app.@SECURITY=app.stream.@SECURITY))&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The rule is "validated" but does not work as expected (in the hub, when trying to publish, nothing is proposed in the stream list...)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653068#M15231</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-12-02T11:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653072#M15232</link>
      <description>&lt;P&gt;If you want only Publish yes action type is okay. Condition should be&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;resource.IsOwned() and resource.owner = user&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653072#M15232</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-02T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653073#M15233</link>
      <description>&lt;P&gt;Yes, I suppose you need publish permission in stream, and I don't know how to check publish permission in an app and in the stream in the same check because the rule should be different for app than for stream, if you use an 'and' both resources can't be checked, if you use an 'or' only when one check is true you would gain access without checking the other.&lt;/P&gt;&lt;P&gt;Maybe splitting in 2 rules? one for app and another for stream?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Resource filter: App_* (or just App*, without '_')&lt;/LI&gt;&lt;LI&gt;action: "publish","update"&lt;/LI&gt;&lt;LI&gt;conditions: ((resource.@SECURITY=user.@SECURITY))&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;Resource filter: Stream_*&amp;nbsp;(or just Stream*)&lt;/LI&gt;&lt;LI&gt;action: "publish"&lt;/LI&gt;&lt;LI&gt;conditions: ((resource.@SECURITY=user.@SECURITY))&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653073#M15233</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-12-02T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: security rule to publish an application according Custom Property</title>
      <link>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653096#M15234</link>
      <description>&lt;P&gt;The customProperty set to the application level is a security to be sur the application could only be deployed to some stream.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;3 streams: S1 (custom property @SECURITY = C1), S2 (custom property @SECURITY = C2), S3 (custom property @SECURITY = C3)&lt;/P&gt;&lt;P&gt;The user can access to streams in S1 and S2&lt;/P&gt;&lt;P&gt;He wants to publish the application A1. Application A1 is assigned to a custom property @SECURITY = C1 so A1 could only be deployed in the S1 stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With your proposition, I add the custom property @SECURITY to users and I tested it and I can publish in each stream assigned to @SECURITY of the user (even if the value in @SECURITY of the app is different)...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 12:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/security-rule-to-publish-an-application-according-Custom/m-p/1653096#M15234</guid>
      <dc:creator>fabricecallegari</dc:creator>
      <dc:date>2019-12-02T12:36:09Z</dc:date>
    </item>
  </channel>
</rss>

