0 Replies Latest reply: Feb 19, 2017 8:40 AM by Amien Amien RSS

    ((user.group like "PreFix_StreamName*"))

    Amien Amien

      I have this rule now to give someone access to a stream. Based on the group name. The full group looks like this : PreFix_StreamName_Consumer". So different groups look like this : "PreFix_Stream1_Consumer" or "Prefix_Stream2_Contributor"

       

      This rule in the header works fine, but i have to define a rule for each stream. Would it be possible to create 1 rule?

      So that the resource filter can be "Stream_*"

       

      And the condition should look something like this:

       

      ((user.group like "PreFix_" + resource.name + "*"))\

       

      Thanks in advanced