Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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.
Some questions:
It could be both way:
- QMC > Apps > Reload now
- If tasks merely view / start them.
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.
@korsikov Thanks for your post. It helped me as well. Much appreciated.