Qlik Community

Qlik Sense Governed Self-Service

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

jterry615
New Contributor II

Qliksense - Make Self Service Only Available in Certain Streams

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?

1 Reply
manojkvrajan
Contributor III

Re: Qliksense - Make Self Service Only Available in Certain Streams

Hi Jeannie,

Please post a solution if you have figured out?

Thanks,

Manoj