Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I want to disable the Edit button when the user browsing Qlik Sense, from the Demo site, when I login as anonymous, so it was disabled.
Is there any other way that I can disable the Edit button like using security rules or access control?
Thanks!
I think all you need to do is publish the app to a stream. From the online help: http://help.qlik.com/sense/en-us/online/#../Subsystems/Hub/Content/Security/AuthorizationAccess.htm%...
Qlik Sense has a default behavior, for example:
By default, there is a Security Rule called "CreateAppObjectsPublishedApp" which allows everyone to create app objects in the apps they are allowed to access to.
Try disabling it and see how nobody can edit a published app (meaning they cannot create sheets by themselves, only use the Approved sheets).
Paddy,
You will want to take a look at security rules. With security rules, you can prevent a user from editing/creating new content in an app after it is published.
Gysbert is correct in saying that once an app is published the approved sheets may not be edited, but they can be duplicated and added to the My Sheets section of the app, and the user by default has the ability to create sheets and publish them to the community.
Start with this webinar: SenseSecurityRules.mp4 - Google Drive
and then go to the help for more detailed information.
jg
You should look at this Rules.
In below link if you setup a user as "Consumer" you wont see the EDIT button.
If your user should not create a new Sheet/Object, but should be able to create Story, Snapshot, Bookmarks then use below Rule. I would recommend to go through the first link so that understanding below rule will be easy.
Re: User role to create bookmarks and stories in a published app
Hi Jeff,
I have gone through your video and it helped me a lot in understanding how to customize roles.
One thing i am missing is once i add below rule to control not to create Sheets but Bookmarks & Stories i am not seeing Snapshot icon. Do you know what i am doing wrong?
!resource.App.stream.Empty() and resource.App.HasPrivilege("read") and (resource.objectType = "userstate" or resource.objectType = "story" or resource.objectType = "bookmark" or resource.objectType = "snapshot" or resource.objectType = "embeddedsnapshot" or resource.objectType = "hiddenbookmark") and !user.IsAnonymous() and user.@usertype="Consumer"
Hi Phaneendra, I've noticed something goes a little wonky when you have "and !user.isAnonymous() followed by another and. I'd try wrapping them in parens to see if that helps. For example, and (!user.isAnonymous() and user.@usertype="Consumer"). Another way would be to wrap each in their own set of parens. It may seem silly, but make sure your custom property and value are entered the same way you have them set up.
Hope this helps.
jg
I tired both and no luck. Still not seeing "Snapshot icon (Camera)" on top.
!resource.App.stream.Empty() and resource.App.HasPrivilege("read") and (resource.objectType = "userstate" or resource.objectType = "story" or resource.objectType = "bookmark" or resource.objectType = "snapshot" or resource.objectType = "embeddedsnapshot" or resource.objectType = "hiddenbookmark") and (!user.IsAnonymous() and user.@Usertype="Consumer")
((!resource.App.stream.Empty() and resource.App.HasPrivilege("read"))) and ((resource.objectType = "userstate" or resource.objectType = "story" or resource.objectType = "bookmark" or resource.objectType = "snapshot" or resource.objectType = "embeddedsnapshot" or resource.objectType = "hiddenbookmark")) and ((!user.IsAnonymous() and user.@Usertype="Consumer"))
I'll do some testing so I can see what happens. I'm surprised that you can't do snapshots if you can't do sheets.
jg
I can do snapshots by right clicking on each object and clicking on "Take Snapshot" with the above rule.
My question is on top toolbar usually you will see "Camera(Snapshot)", "Story", "Bookmark" & "Edit" icons.
With the rule above i am missing "Camera" icon from the toolbar. This is a good to have like global snapshot tool.