Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We have created user custom properties to handle how users can use Qliksense (QlikConsumer, QlikDeveloper, QlikPowerUser). In our PROD environment, a QlikConsumer can view dashboards and create bookmarks and stories but they can not create sheets using the following rule.
!resource.App.stream.Empty()
and resource.App.HasPrivilege("read")
and (
resource.objectType = "userstate"
or (
resource.objectType = "sheet"
and user.@QlikGroup != "QlikConsumer"
)
or resource.objectType = "story"
or resource.objectType = "bookmark"
or resource.objectType = "snapshot"
or resource.objectType = "embeddedsnapshot"
or resource.objectType = "hiddenbookmark"
)
and !user.IsAnonymous()
Now, I want to allow QlikConsumers to create sheets if the Stream has a custom property named StreamType that is set to Self Service.
!resource.App.stream.Empty()
and resource.App.HasPrivilege("read")
and (
resource.objectType = "userstate"
or (
resource.objectType = "sheet"
and user.@QlikGroup != "QlikConsumer"
and resource.stream.@StreamType != "Self Service"
)
or (resource.objectType = "sheet"
and resource.stream.@StreamType = "Self Service")
or resource.objectType = "story"
or resource.objectType = "bookmark"
or resource.objectType = "snapshot"
or resource.objectType = "embeddedsnapshot"
or resource.objectType = "hiddenbookmark"
)
and !user.IsAnonymous()
Can anyone help identify what may be the problem/why this isn't working?
Hi Jeannie,
Please post a solution if you have figured out?
Thanks,
Manoj