Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
pablomind
Creator
Creator

How can I create a Role for an user that only can Reload Apps in the QMC in Qlik Sense?

Hi everyboday, I was asked by the client to give access to some users that you should be allowed to enter the QMC in Qlik Sense but only for reload an App there (they shouldnt be able to do anything else there). I know I have to create a Role/Security Rule for that. Can anyone please help me with how to write that Rule specifically?

Labels (1)
1 Solution

Accepted Solutions
korsikov
Partner - Specialist III
Partner - Specialist III

Sorry for mistakes - it's machine translate from my instruction on Russian

Task: it is necessary to create a QMC role that will allow the user to manually start tasks for restarting tasks.
1. Create CustomProperty "Task_Reload", resource type: "Apps, Reload Tasks, Users". Values are referred to as RTask_TastName. For example: RTask_Sales_QVD_Creator.
2. For the convenience of navigating through the list, create a Tag calling it TaskAdmin.
3. Create two security rules, as indicated in the example below:

 

Name

Descript

Resource filter

Action

Condition

Context

Tag

QMC_Sections_TaskAdmin

Доступ к разделам QMC для роли Task Admin

QmcSection_Task

Read

((user.roles="TaskAdmin"))

Only in QMC

TaskAdmin

TaskAdmin

Доступ на перезапуск определенных задач пользователям роли TaskAdmin

App_*, ReloadTask_*

Read;

Update

((user.roles="TaskAdmin" and user.@Task_Reload=resource.@Task_Reload))

Only in QMC

TaskAdmin

4. Assign the required CustomPropery "Task_Reload" value to the task and its associated application. It is important that these values match.
5. The user is assigned the TaskAdmin role. Access to the QMC Tasks section appears. Next, in the CustomPropery “Task_Reload” of the user, we choose which tasks he can overload. Apply changes.
6. Task completed.

 

View solution in original post

4 Replies
Levi_Turner
Employee
Employee

Some questions:

  • Reload an app? How?
    • Reload now QMC > Apps > Reload now?
    • From a Task?
  • If tasks,
    • Will they be able to create tasks and triggers, or merely view / start them?
pablomind
Creator
Creator
Author

It could be both way:

QMC > Apps > Reload now

If tasks merely view / start them.

korsikov
Partner - Specialist III
Partner - Specialist III

Sorry for mistakes - it's machine translate from my instruction on Russian

Task: it is necessary to create a QMC role that will allow the user to manually start tasks for restarting tasks.
1. Create CustomProperty "Task_Reload", resource type: "Apps, Reload Tasks, Users". Values are referred to as RTask_TastName. For example: RTask_Sales_QVD_Creator.
2. For the convenience of navigating through the list, create a Tag calling it TaskAdmin.
3. Create two security rules, as indicated in the example below:

 

Name

Descript

Resource filter

Action

Condition

Context

Tag

QMC_Sections_TaskAdmin

Доступ к разделам QMC для роли Task Admin

QmcSection_Task

Read

((user.roles="TaskAdmin"))

Only in QMC

TaskAdmin

TaskAdmin

Доступ на перезапуск определенных задач пользователям роли TaskAdmin

App_*, ReloadTask_*

Read;

Update

((user.roles="TaskAdmin" and user.@Task_Reload=resource.@Task_Reload))

Only in QMC

TaskAdmin

4. Assign the required CustomPropery "Task_Reload" value to the task and its associated application. It is important that these values match.
5. The user is assigned the TaskAdmin role. Access to the QMC Tasks section appears. Next, in the CustomPropery “Task_Reload” of the user, we choose which tasks he can overload. Apply changes.
6. Task completed.

 

Purushothaman
Partner - Creator III
Partner - Creator III

@korsikov  Thanks for your post. It helped me as well. Much appreciated.