Skip to main content

Qlik Sense: Security rules needed to call task start and result endpoints

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Qlik Sense: Security rules needed to call task start and result endpoints

Last Update:

May 5, 2021 10:30:11 AM

Updated By:

Andre_Sostizzo

Created date:

Apr 29, 2019 6:13:08 AM


The resource filters needed to start a task and check its status using the /qrs/executionsession/ and /qrs/executionresult endpoints as seen under Task: Start are not all documented as seen under Available resource filters, which may make creating custom rules difficult. Using RootAdmin works, but this cannot be used in scenarios where only the least amount of permissions are needed.

 

Environment:

Qlik Sense Enterprise on Windows , all versions

 

Cause:


Undocumented resource was needed to call the endpoints.

 

Resolution:


These steps will create a rule capable of running the endpoints listed under Task: Start with the minimum of rights needed.

1. Create a new security rule called TaskAdmin.

2. For the Resource filter, add: App_*, ReloadTask_*, ExecutionResult_*, ExecutionSession_*

3. For Actions, check: Read and Update.

4. For Conditions, put: ((user.roles="TaskAdmin"))

5. Save the rule.

Labels (3)
Comments
polyakov
Partner - Contributor III
Partner - Contributor III

For the new type of task - external task need add to 2nd steps resource filter externalProgramTask_*

Contributors
Version history
Last update:
‎2021-05-05 10:30 AM
Updated by: