Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
psublue98
Creator
Creator

Security rule using like on a resource. property value

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?

Existing rule for Stream_* (works):

((user.@StreamAccess=resource.@StreamAccess))

  • Example StreamAccess value "Stream1_Read"
  • If both the stream and user have StreamAccess values of "Stream1_Read" then allow user to read the stream

Modification 1 (works):

((user.@StreamAccess=resource.@StreamAccess OR user.@Department=resource.@Department))

  • Example Department value "Division1-BranchA"
  • If the stream's StreamAccess values match, or the stream and user have Department = "Division1-BranchA" then read

Modification 2 (doesn't work):

((user.@StreamAccess=resource.@StreamAccess OR user.@Department like resource.@Department))

  • Where the Department value for the user is Division1-BranchA and the value for the stream is *BranchA*
  • We've tried setting the property values to "*BranchA*" and BranchA with no success

Is this modification 2 using "Like" on a resource. in this manner possible?

 

Labels (1)
0 Replies