Security rules example: Qlik Sense Mobile offline access to apps by user attributes
In this example, you create offline access rights to a specific app by using the user attributes that are retrieved from ticket authentication or session and SAML attributes.
Do the following:
Select Security rules and click P Create new.
The resource filter for the rule should be set to filter on a apps.
In the Basic section, fill in the Resource filter field with text as per Security rule code.
You now need to set the conditions to specify the users that the rule applies to.
In the Advanced section, fill in the Conditions field with text as per Security rule code.
Set the actions that the rule should provide.
In the Basic section, select Actions as per Security rule code.
Type a name for the security rule in the Name field.
You have now created access to a specific stream based on ticket authentication user attributes.
The following is the security rule code for this example, with explanatory comments.
Specifically filters on the resource type App.
The rule applies to apps.
The rule applies to the users where the attribute equals the value.
Read actions will be granted provided that the conditions are met.