<?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: Rule with wildcard AND resource property value in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276402#M8891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking at this for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to avoid the creation of additional codes on the user, as that is being administered elsewhere and if I could use the single codes we already have then it would make things much simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am actually trying to do is have an app with ABC access which has several content libraries accessible from it, hence ABC123 and ABC456. We could then have another app with DEF and corresponding DEF123 and DEF456 content libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like I might have to look at a way of automatically splitting out the ABC into a new additional user property before it passes to Qlik. Then everything else should fall into place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 12:17:15 GMT</pubDate>
    <dc:creator>lmcbasher</dc:creator>
    <dc:date>2017-01-26T12:17:15Z</dc:date>
    <item>
      <title>Rule with wildcard AND resource property value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276400#M8889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a rule which allows access to apps if the user property UserAccessCode equals the app custom property AppAccessCode:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource.stream.HasPrivilege("read") and ((user.UserAccessCode = resource.@AppAccessCode))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This works fine if the UserAccessCode is ABC and the AppAccessCode is ABC.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What i now want to do is introduce a wildcard so that a single UserAccessCode can access multiple AppAccessCodes. For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserAccessCode is ABC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppAccessCodes are ABC123 and ABC456.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I can do this with a hardcoded wild card, like this:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource.stream.HasPrivilege("read") and ((user.UserAccessCode like "ABC*"))&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;However, i don't know how to do it so that the ABC portion is a property value. Something like this doesn't work:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource.stream.HasPrivilege("read") and ((user.UserAccessCode like resource.@AppAccessCode&amp;amp;"*" ))&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;Does anyone know if this is possible?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276400#M8889</guid>
      <dc:creator>lmcbasher</dc:creator>
      <dc:date>2017-01-19T09:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rule with wildcard AND resource property value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276401#M8890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting question. I don't think there's a great way of setting up a dynamic wild card match like you want.&lt;/P&gt;&lt;P&gt;Tried it out on my end as well and can't seem to get it going with different syntax checks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would suggest instead is to restructure the custom properties a little instead.&lt;/P&gt;&lt;P&gt;Maybe use one custom property, AccessCode, and assign it to both apps and users and then just match ABC to ABC.&lt;/P&gt;&lt;P&gt;This should give you a baseline app grouping and matching to users. Combined with Streams you already have pretty good segmentation options. &lt;/P&gt;&lt;P&gt;Assign a second custom property allows for another level of segmentation, down to individual apps for example. Maybe call this property AppAccessCode with values ABC123 and ABC456. Tag this custom property to both users and apps as well and have a second security rule that matches app access for when users and apps have matching values for this custom property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your AccessCode Custom Property will provide app access on a more "aggregated" level while the AppAccessCode will provide app access on a more "granular" level.&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Johannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 08:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276401#M8890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T08:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rule with wildcard AND resource property value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276402#M8891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking at this for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to avoid the creation of additional codes on the user, as that is being administered elsewhere and if I could use the single codes we already have then it would make things much simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am actually trying to do is have an app with ABC access which has several content libraries accessible from it, hence ABC123 and ABC456. We could then have another app with DEF and corresponding DEF123 and DEF456 content libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like I might have to look at a way of automatically splitting out the ABC into a new additional user property before it passes to Qlik. Then everything else should fall into place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276402#M8891</guid>
      <dc:creator>lmcbasher</dc:creator>
      <dc:date>2017-01-26T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rule with wildcard AND resource property value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276403#M8892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is something straightaway not possible with wildcard match with in rules. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1276403#M8892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-26T18:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rule with wildcard AND resource property value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1598479#M14053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the same problem. Did you find a solution ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 08:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Rule-with-wildcard-AND-resource-property-value/m-p/1598479#M14053</guid>
      <dc:creator>paulcalvet</dc:creator>
      <dc:date>2019-07-03T08:09:39Z</dc:date>
    </item>
  </channel>
</rss>

