A content library is a storage that enables the Qlik Sense users to add shared contents to their apps.
The user who creates the content library automatically becomes the owner of that library. The library and the library objects can be shared with others through security rules defined in the QMC.
You create security rules to give access rights for the content libraries.
Do the following:
Open the QMC: https://<QPS server name>/qmc
Select Content libraries on the QMC start page or from the Start drop-down menu to display the overview.
Select the content library that you want to create rules for.
The content library edit page opens.
Select Security rules under Associated items.Information noteThe security rules overview is displayed.
Click Create associated rule in the action bar.Information noteThe Create security rule dialog opens.
Edit the security rule for administrative access of the content library:
- Edit the Identification properties:
Create the conditions for the rule in the Basic section:
- Select which actions the rule should apply for.
- Use the drop downs to create a condition that specifies which users the rule will apply to.
- Click to add a condition. When using multiple conditions, you can group two conditions by clicking Group. After the conditions have been grouped, you have the option Ungroup. Additional subgrouping options are Split and Join. The default operator between conditions is OR. You can change this in the operator drop-down list. Multiple conditions are grouped so that AND is superior to OR.
Operator descriptions Operator Descriptions and examples =
This operator is not case sensitive and returns True if the compared expressions are exactly equal.
user.name = ”a*”
The user named exactly a* is targeted by the rule.
This operator is not case sensitive and returns True if the compared expressions are equal.
user.name = ”a*”
All users with names beginning with an a are targeted by the rule.
This operator is not case sensitive and returns True if the attribute values in the compared expressions are equal.
All resources with the same name as the user are targeted by the rule.
Identification fields and values Field Value Name Enter the name of the content library. Mandatory. Disabled Select to disable the rule. The rule is enabled by default. Description Enter a description for the rule.
Click Apply.Information noteThe dialog closes and the rule is added to the security rules overview.Tip noteThe security rule results in a corresponding security rule in the Security rule overview page.
You have now created the access rights for the selected content library.