Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
GrantBooth
Creator
Creator

Security rules check if custom property is not set

I'm trying to implement security based on this video https://www.youtube.com/watch?v=yaBfW2RtxGA

Basically, I am using custom properties to dictate access to apps within a stream. The logic being used is if a custom property is blank then a particular app will not be visible to a user. When a user views a stream, they currently can see all apps. I've triple checked that the app in question has the correct custom property, and that users do not have access to this. 

The security rule I am using is based on this response from an earlier topic https://community.qlik.com/t5/Security-Governance/Security-rules-check-if-custom-property-is-not-set...

Try as I might I'm not able to get this to work

(

(user.@AppLevelMgmt=resource.@AppLevelMgmt)

 

or

 

(resource.resourcetype = "App" and resource.stream.HasPrivilege("read") and

resource.@AppLevelMgmt.empty()) or ((resource.resourcetype = "App.Object" and

resource.published = "true") and resource.app.stream.HasPrivilege("read"))

)

 

Labels (1)
1 Solution

Accepted Solutions
GrantBooth
Creator
Creator
Author

Nevermind, I disabled the default Stream security rule and it is now working

View solution in original post

1 Reply
GrantBooth
Creator
Creator
Author

Nevermind, I disabled the default Stream security rule and it is now working