In this scenario, the administrator wants to grant the ability to export data from applications for anonymous users.
! Qlik Support will not be providing assistance on debugging or writing custom security rules for customers. Implementation advice needs to be handled by Professional Services or Presales. That being said, this 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.
Note: This functionality is present in Qlik Sense April 2018 or higher. This security rule example will not enable export for anonymous users on earlier builds of Qlik Sense.
Name = ExportData-Anonymous
Description = Everyone is allowed to export the app data they are allowed to see
Resource filter = App_*
Conditions = resource.HasPrivilege("read") and user.IsAnonymous()
Context = Hub