Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

How to control Master Item access in a Published App

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Lisa_Sun
Support
Support

How to control Master Item access in a Published App

Last Update:

Feb 8, 2021 10:26:02 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 7, 2021 7:30:30 PM

You can control access to Master Items in a published app by setting resource.objectType to "dimension" or "measure". 

Here are two examples:

  1. Allows the user to create any app object for the published apps:

    !resource.App.stream.Empty() and resource.App.HasPrivilege("read")  and !user.IsAnonymous()

  2.  Allows the user to create the specific app object for the published apps, such as sheet, bookmark, story, master item, etc:

    !resource.App.stream.Empty() and resource.App.HasPrivilege("read") and (resource.objectType = "userstate" or resource.objectType = "sheet" or resource.objectType = "story" or resource.objectType = "bookmark" or resource.objectType = "snapshot" or resource.objectType = "embeddedsnapshot" or resource.objectType = "hiddenbookmark" or resource.objectType = "dimension" or resource.objectType = "measure") and !user.IsAnonymous()

 

Environment:

Qlik Sense Enterprise on Windows 

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution may not be provided by Qlik Support.

 

Related Content:

Collection of Specific Rule Scenarios and Customization of Qlik Sense Security rules 

Labels (3)
Version history
Last update:
‎2021-02-08 10:26 AM
Updated by: