"Allow the requester to [action] the [resource] provided that [conditions]."
This section describes the action, resource, conditions, and other properties that can be used to build a rule.
Tip noteYou can create rules for users that are not yet in the system or resources that do not yet exist in the system. This enables you to proactively create rules. However, the rules cannot evaluate until the users are authenticated in the system, or the resources, such as apps, actually exist.
Reading the security rule syntax notation
The security rules syntax notation is as follows:
words written outside brackets in regular text are mandatory (required).
words or characters written in bold outside or inside brackets are mandatory.
words written in italic inside brackets are optional.
words in blue in the syntax descriptions are links to further information on the syntax.
Security rule properties
Click the name of the field to see a description and then click the link to read the corresponding syntax (if available).
A name to identify the security rule. (MANDATORY)
Select to disable the security rule. The effect of disabled rules can still be evaluated using the preview or the audit tool. (OPTIONAL)
A short description of the intention with the rule. (OPTIONAL)
A mandatory definition of the type or types of resources that the security rule will be evaluated for. (MANDATORY)
Define resource and/or user conditions that should be met for the rule to apply. (OPTIONAL).
Conditions are defined using property-value pairs. You are not required to specify resource or user conditions. In fact, you can leave the Conditions field empty.
The QMC includes several predefined functions that can be used to return property values from targeted resources.
Logical operator precedence
When more than one logical operator is used in a condition, NOT is evaluated first, then AND, and finally OR. Using parentheses, even when they are not required, can improve the readability of conditions and reduce the risk of making mistakes because of operator precedence.
Example:
How is A OR B AND C interpreted by the Qlik Sense security rules?
It is interpreted as A OR (B AND C).
Information noteYou must use lower-case letters for the operators and, or, like, and matches.