Qlik Community

Qlik Sense Governed Self-Service

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

biob_stein
Contributor

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
Highlighted
biob_stein
Contributor

Re: Security rules check if custom property is not set?

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

)

1 Reply
Highlighted
biob_stein
Contributor

Re: Security rules check if custom property is not set?

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

)