Resource filter (Advanced view)
A mandatory definition of the types of resources that the security rule applies to.
Syntax
resourcetype1[*][_*][, resourcetype2[*][_*], ...]
If you select a resource from the Create rule from template list in the Identification section, the Resource filter field in the Basic section is automatically filled in with the selected resource. The optional underscore and asterisk ('_*') are added by default. Selections made in the rule wizard drop-down lists in the Basic section are automatically added to the Conditions box in the Advanced section.
Arguments
Argument | Description |
---|---|
resourcetype1 | Required. You must enter at least one resource type name. |
* | Optional wildcard. If included the rule will apply to all resource types beginning with the specified text. For example, App* will apply the rule to all resource types beginning with "App", that is to say, all resources of type App and App.Object. If omitted the security rule will apply to resource types with the exact name specified in the Resource field. You must supply the GUID or template for GUIDs for the rule to work. Cannot be used in conjunction with '_*' option. |
_* | Optional wildcard. If included the rule will apply to all resources of the type specified. For example, App_* will apply the rule to all apps. Similarly, App.Object_* will apply the rule to all app objects. If omitted the security rule will apply to resource types with the exact name specified in the Resource field. You must supply the GUID or template for GUIDs for the rule to work. Cannot be used in conjunction with the '*' option. |
Properties
Property | Security rule will be applied to |
---|---|
App | Apps |
App.Object | Objects The Objects' objectTypes, for example: sheet, story, bookmark, measure or dimension. |
ContentLibrary | Content libraries |
DataConnection | Data connections |
Extension | Extensions |
ReloadTask | Reload tasks |
ServerNodeConfiguration | The configuration of Qlik Sense nodes |
Stream | Streams |
SystemRule | Security rules |
User | Users |
UserDirectory | User directory connectors |
UserSyncTask | User synchronization tasks |
Examples and results
Example | Result |
---|---|
App* | The rule will apply to apps and app objects. |
App_* | The rule will apply to apps only. |
App*, Streams*, App.Object* resource.resourcetype="App.Object" and (((resource.objectType="sheet"))) | The rule will apply to apps, streams and sheets. Tip noteYou can leave out App.Object* ... in this example as App* will apply the rule to both apps and sheets. |
Stream_88ee46c6-5e9a-41a7-a66a-f5d8995454ec | The rule will apply to the stream with the specified GUID. |
Stream_\w{8}-\w{4}-\w{4}-\w{4}-\w{12} | The rule will apply to all existing streams. |
Select App from the Resource drop-down list. | The following texts appear in the Advanced view: Resource*App* Conditions*resource.resourcetype="App" and ( ) Information noteIf you don't enter a resource or a user condition inside the brackets, the security rule will by default apply to all apps and all users. |