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
- Open the Qlik Sense Management Console and open the Security Rules menu
- 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)