Qlik Community

Security & Governance

Discussion board where members can learn more about Qlik Sense deployments which are governed and self-service.

Announcements
Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
biob_stein
Creator
Creator

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
biob_stein
Creator
Creator
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
biob_stein
Creator
Creator
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"))

)