-
Re: Security rule for disable and enable app options
Mark Ritter Aug 5, 2016 8:21 AM (in response to Prasanta Kumar)This is the rule I am using. The group QlikConsumer can not add sheets. But they can do stories, bookmarks, etc. Everyone else can do everything. Let me know if this helps any.
!resource.App.stream.Empty()
and resource.App.HasPrivilege("read")
and (
resource.objectType = "userstate"
or (
resource.objectType = "sheet"
and user.group != "QlikConsumer"
)
or resource.objectType = "story"
or resource.objectType = "bookmark"
or resource.objectType = "snapshot"
or resource.objectType = "embeddedsnapshot"
or resource.objectType = "hiddenbookmark"
)
and !user.IsAnonymous()
-
Re: Security rule for disable and enable app options
Prasanta Kumar Aug 5, 2016 9:35 AM (in response to Mark Ritter)hi Mark,
yes i have written something like this and its working for me.
can you please help me to understand whod does it mean by "Userstate"
and secondly where we can define the enable and disable condition for an user to publish an app.
For example, an user should create and duplicate a sheet, but should not have rights to publish it.
thanks
-
-
Re: Security rule for disable and enable app options
Andrea Gigliotti Apr 6, 2017 7:07 AM (in response to Prasanta Kumar)Hello,
Please take a look at my thread here Qlik Sense security rule problem
Can you help me ?
Many thanks.
BR
Andrea