Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exporting Data Security

Hello All,

I was hoping someone could direct me as to how I can modify my current task for "ExportAppData" to only allow the Admin Role of 'ContentAdmin' to export data from visualizations?

My current task is as follows:

resource.HasPrivilege("read") and !user.IsAnonymous()

Thanks for any help.

TJ

3 Replies
Vincenzo_Esposito

Add to the bottom  ...and user.roles = "Content Admin"


Of course you can replace Content Admin with whatever 


Not applicable
Author

This worked flawlessly.  Thanks, Vincenzo!

Not applicable
Author

ves‌ Hi Vincenzo.  I was hoping you could help me with another layer of security in that same rule.  If I wanted to only have the .Marketing Active Directory Group to have access, what is the correct modifier? user.userdirectory = ".Marketing" or something similar?  Thanks for the help.