We in Qlik Support have virtually no scope when it comes to debugging or writing custom security rules for customers. That level of implementation advice needs to be handled by the folks in 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.
In this scenario, the administrator wants to grant visibility / read access to NPrinting reports distributed to the Qlik Sense Hub to the same user across two domains
- Name: _MultiDomainNPReports
- Description / Explanation: This rule will grant read rights to distributed NP Report based on pattern matching the User IDs
- Filter(s): SharedContent_*
- Action(s): Read
- Conditions: ((resource.owner.userId=user.userId))
- Context: Hub
This rule requires that the users have the same User ID across the domains. The semantic meaning of the rule is that for all QlikView documents / NPrinting reports (SharedContent_*
) if the owner's User ID equals the user's User ID, then provide read access. Since NPrinting can only interact with one domain
, the report will be distributed to DOMAIN\USERID. The security rule will provide read access to any user with the same USERID, no matter the domain that they are from.