Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Disable Edit button in Qlik Sense

EditCapture.JPG

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!

18 Replies
Gysbert_Wassenaar

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:

  • Only the owner of an unpublished app can see it.
  • An app cannot be modified once it has been published.
  • Only users with access to a stream can see the apps in that stream.

talk is cheap, supply exceeds demand
Not applicable
Author

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

Not applicable
Author

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.

http://help.qlik.com/sense/en-US/online/#../Subsystems/ManagementConsole/Content/ServerUserGuide/SUG...

jg

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

You should look at this Rules.

In below link if you setup a user as "Consumer" you wont see the EDIT button.

http://help.qlik.com/sense/en-US/online/#../Subsystems/ManagementConsole/Content/ServerUserGuide/SUG...

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

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

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"

Not applicable
Author

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

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

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

Not applicable
Author

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

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

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.