Skip to main content

Security Rule example: Disable custom connector for particular user group for Qlik Sense

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Yoichi_Hirotake
Former Employee
Former Employee

Security Rule example: Disable custom connector for particular user group for Qlik Sense

Last Update:

Nov 11, 2021 10:15:21 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 24, 2018 6:47:40 PM

This article describes an example on how to disable custom connector for particular user group for Qlik Sense

Disclaimer: This is just an example to show the availability what users can do in Qlik Sense. It may not fulfil all user scenarios.

Please engage with Qlik Consultant for further advice if you want to develop/implement custom security rules into your environment.

 

Resolution:

 

Setup example

  • Domain\alex: Domain user account, belong to Windows user Group “Sydney
  • Domain\bob: Domain user account, belong to user Group “Sydney
  • Domain\craig: Domain user account, belong to none of user Group
  • Above three users account are already fetched into Qlik Sense via UDC and Token is assigned.

Goal

  • Users in user group “Sydney” CANNOT create “custom” data connection.
  • Users in other group CAN create “custom” data connection.

 

Steps

  1. Go to QMC > Security Rules
  2. Select Security Rule Name DataConnection and press Edit button.
  3. Tick Disable and press Apply button.

    User-added image

  4. Press Create new button to create a new Security rule. Enter below.

    Name: DisableCustomConnectors
    Description: This custom rule disables Custom Connectors for user group “Sydney”
    Resource filter: DataConnection_*
    Action: Create
    Condition: ((resource.type!="folder" and resource.type!="Custom") and (user.group="Sydney"))
    Context: Only in hub

    User-added image

  5. Press Apply button 
  6. Press Create new button to create new Security rule. Enter below and press Apply button.

    Name: DataConnectionForNormalUsers
    Description: This custom rule is for Data Connections except User Group “Sydney”. Custom Connection creation enabled.
    Resource filter: DataConnection_*
    Action: Create
    Condition: ((resource.type!="folder" and user.group!="Sydney"))
    Context: Only in hub


    User-added image

  7. Press Apply button
     


Result:

Domain\Alex: Custom connectors is disabled.

Add Data Screen for Domain\Alex

User-added image
 
Edit Script Screen for Domain\Alex

User-added image
 

Domain\bob: Custom connectors is disabled.

 
Add  Data Screen for Domain\bob


User-added image

 
Edit Script Screen for Domain\bob

User-added image
 

Domain\craig: Custom connectors is enabled.

Add  Data Screen for Domain\craig
 
User-added image

Edit Script Screen for Domain\craig

User-added image
Labels (2)
Version history
Last update:
‎2021-11-11 10:15 AM
Updated by: