Qlik Community

Ask a Question

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
Talk to Experts Tuesday, January 26th at 10AM EST: Qlik Sense. REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Partner
Partner

Security rule

Hi,

Is it possible to concatenate values in security rule conditions?

For example:

resource.name + "." + resource.app.name = user.<attribuut>

Or to use resource variables in matches expression like below?

user.<attribuut> matches ".*" + resource.name + ".*"

Bas Knol

10 Replies
Partner
Partner

As far as I know you can only use logical construction and

for example

resource.name="App_*" and (resource.app.name="appname")

Specialist
Specialist

not possible yet? i really would like to have the basic functionality

Contributor II
Contributor II

Any update on this? I'm very much in need of this functionality.

amienbknol‌ were either of you able to solve this problem?

Partner
Partner

Do you try use like?

for expl..

resource.stream.HasPrivilege("read") and (resource.@DemoType like "Analyz*" and (user.@UserType="Demo" or user.userDirectory="DEMOAPP"))

Contributor III
Contributor III

This wont help, basically there is a need for scenario like :

resource.attribut like resource + ".*" or something like that

Contributor III
Contributor III

We also Need a solution for this issue. We want to match generic user.Group with custom properties. But user.Group contains additional string. So we Need the possibility to concat string before like: user.Group like "*"+resource.@Project+"*".

Please help. Thanks.

BR

Mehmet.

Contributor
Contributor

Any update on this?  We also really need this functionality.  It seems I can't even use the value from a user attribute as the regular expression match - must be a static string.

For example, I'd like to be able to do this:

  resource.name matches user.environment.clientAccess

...where clientAccess is a regEx expression with to match the valid resources this user can access.

Creator
Creator

Hi! Any solutions to this problem?

 

Thank you!

 

Caio

Creator
Creator

This would definitely be helpful! Is there an official feature request in place already? If not, how do we get a feature request to the right people?