Qlik Community

Qlik Sense Deployment & Management

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

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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")

Highlighted
Specialist
Specialist

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

Highlighted
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?

Highlighted
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"))

Highlighted
Contributor III
Contributor III

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

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

Highlighted
Contributor II
Contributor II

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.

Highlighted
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.

Highlighted
Creator
Creator

Hi! Any solutions to this problem?

 

Thank you!

 

Caio

Highlighted
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?