<?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 Security rule using like on a resource. property value in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Security-rule-using-like-on-a-resource-property-value/m-p/1767675#M17061</link>
    <description>&lt;P&gt;Hello - we'd like to add a condition to an existing stream security rule with the question being can the "like" operator be used to evaluate a property value?&lt;/P&gt;&lt;P&gt;Existing rule for Stream_* (works):&lt;/P&gt;&lt;P&gt;((&lt;A href="mailto:user.@StreamAccess=resource.@StreamAccess" target="_blank" rel="noopener"&gt;user.@StreamAccess=resource.@StreamAccess&lt;/A&gt;))&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Example StreamAccess value "Stream1_Read"&lt;/LI&gt;&lt;LI&gt;If both the stream and user have StreamAccess values of "Stream1_Read" then allow user to read the stream&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Modification 1 (works):&lt;/P&gt;&lt;P&gt;((user.@StreamAccess=resource.@StreamAccess OR&amp;nbsp;&lt;A href="mailto:user.@Department=resource.@Department))" target="_blank" rel="noopener"&gt;user.@Department=resource.@Department))&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Example Department value "Division1-BranchA"&lt;/LI&gt;&lt;LI&gt;If the stream's StreamAccess values match, or the stream and user have Department = "Division1-BranchA" then read&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Modification 2 (doesn't work):&lt;/P&gt;&lt;P&gt;((user.@StreamAccess=resource.@StreamAccess OR&amp;nbsp;&lt;A href="mailto:user.@Department=resource.@Department))" target="_blank" rel="noopener"&gt;user.@Department &lt;STRONG&gt;like&lt;/STRONG&gt; resource.@Department))&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Where the Department value for the user is Division1-BranchA and the value for the stream is *BranchA*&lt;/LI&gt;&lt;LI&gt;We've tried setting the property values to "*BranchA*" and BranchA with no success&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this modification 2 using "Like" on a resource. in this manner possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:58:18 GMT</pubDate>
    <dc:creator>psublue98</dc:creator>
    <dc:date>2024-11-16T00:58:18Z</dc:date>
    <item>
      <title>Security rule using like on a resource. property value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Security-rule-using-like-on-a-resource-property-value/m-p/1767675#M17061</link>
      <description>&lt;P&gt;Hello - we'd like to add a condition to an existing stream security rule with the question being can the "like" operator be used to evaluate a property value?&lt;/P&gt;&lt;P&gt;Existing rule for Stream_* (works):&lt;/P&gt;&lt;P&gt;((&lt;A href="mailto:user.@StreamAccess=resource.@StreamAccess" target="_blank" rel="noopener"&gt;user.@StreamAccess=resource.@StreamAccess&lt;/A&gt;))&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Example StreamAccess value "Stream1_Read"&lt;/LI&gt;&lt;LI&gt;If both the stream and user have StreamAccess values of "Stream1_Read" then allow user to read the stream&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Modification 1 (works):&lt;/P&gt;&lt;P&gt;((user.@StreamAccess=resource.@StreamAccess OR&amp;nbsp;&lt;A href="mailto:user.@Department=resource.@Department))" target="_blank" rel="noopener"&gt;user.@Department=resource.@Department))&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Example Department value "Division1-BranchA"&lt;/LI&gt;&lt;LI&gt;If the stream's StreamAccess values match, or the stream and user have Department = "Division1-BranchA" then read&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Modification 2 (doesn't work):&lt;/P&gt;&lt;P&gt;((user.@StreamAccess=resource.@StreamAccess OR&amp;nbsp;&lt;A href="mailto:user.@Department=resource.@Department))" target="_blank" rel="noopener"&gt;user.@Department &lt;STRONG&gt;like&lt;/STRONG&gt; resource.@Department))&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Where the Department value for the user is Division1-BranchA and the value for the stream is *BranchA*&lt;/LI&gt;&lt;LI&gt;We've tried setting the property values to "*BranchA*" and BranchA with no success&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this modification 2 using "Like" on a resource. in this manner possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Security-rule-using-like-on-a-resource-property-value/m-p/1767675#M17061</guid>
      <dc:creator>psublue98</dc:creator>
      <dc:date>2024-11-16T00:58:18Z</dc:date>
    </item>
  </channel>
</rss>

