Skip to main content Skip to complementary content

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

Arguments
ArgumentDescription
resourcetype1Required. 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

Security rule properties
PropertySecurity rule will be applied to
AppApps
App.Object

Objects

The Objects' objectTypes, for example: sheet, story, bookmark, measure or dimension.
ContentLibraryContent libraries
DataConnectionData connections
ExtensionExtensions
ReloadTaskReload tasks
ServerNodeConfigurationThe configuration of Qlik Sense nodes
StreamStreams
SystemRuleSecurity rules
UserUsers
UserDirectoryUser directory connectors
UserSyncTaskUser synchronization tasks
 

Examples and results

Examples and results
ExampleResult
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-f5d8995454ecThe 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!