Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Security rules check if custom property is not set?

Dear community,

is it possible to check inside the security rules if a custom property is not set?

I want that users that do not have a custom property for apps see all apps that also do not have a custom property, something like this:

(

(user.@AppLevelMgmt=resource.@AppLevelMgmt)

or

(

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

(user.@AppLevelMgmt=NOTHING SET)

)


)

Please help!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Got the solution at my own, folowing rules 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"))

)

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Got the solution at my own, folowing rules 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"))

)