Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION

Security Rule Example: Grant Duplicate Permissions for a Qlik Sense App

100% helpful (2/2)
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Sostizzo
Digital Support
Digital Support

Security Rule Example: Grant Duplicate Permissions for a Qlik Sense App

Last Update:

Nov 17, 2022 5:03:25 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 30, 2018 12:03:29 AM

By default, only App Owners are allowed to duplicate an App.

Here is an example to allow a certain non-Owner user duplicating Apps.

! The example is provided for demonstration purposes to explain a specific scenario. No support or maintenance is implied or provided. Further customization is expected to be necessary and it is the responsibility of the end administrator to test and implement an appropriate rule for their specific use case. For access to more tips and tricks, best practices, and ever-evolving creative solutions, we recommend joining us in our active Qlik Community.

 

Environment:

Qlik Sense Enterprise on Windows 

 

Setup Example

  1. Open the Qlik Sense Management Console and open the Security Rules menu
  2. Click Create new button

    Name: AllowNonOwnerDuplicate
    Description: This rule will grant DUPLICATE right to an application based on the inherited Read rights provided elsewhere. Update rights to an app are necessary to see the Data Load Editor Option
    Filter(s): App_*
    Action(s): Duplicate
    Conditions: resource.resourcetype = "App" and resource.Stream.HasPrivilege("read") and (user.name="User2")

    Note: In this example, we are using a statically defined user.name value. In a realistic scenario you will have a more robust user selection criteria (e.g. user.group="BI Developers".

    The exact form of this condition is highly depending on how a user is allowed to view the App. In this example, we have a separate Security Rule to specifically grants "Read" privilege to of this App's Stream to "User2". This is to make sure condition resource.Stream.HasPrivilege("read") will return true. In the realistic scenario, this whole condition may need significant modification in order to fit the actual scenario.

 

Related Content:

Operators and functions for conditions 
Security rules (overview on help.qlik.com)

Labels (1)
Comments
MariB
Employee
Employee

This is a great solution. Thank you

Contributors
Version history
Last update:
‎2022-11-17 05:03 AM
Updated by: