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?