Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
Employee
Employee

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.