Data visualization component is unavailable to non-admins

peter0611
Tera Contributor

Hey folks!

I've added a data visualization component (semi donut chart) to a record page in a custom workspace. It is configured to use a data resource as the data source. In particular, it is a data broker server script.

This chart works and displays perfectly fine for me as an admin, but when I impersonate any internal user they receive the message: No content available. This data visualization is not configured yet. See screenshot for reference.

I double-checked that the data broker has the appropriate execute ACL in place so that's not the issue. I've also ruled out that it is a report_view ACL issue, at least with regards to the the table the data broker is accessing. The user has access to it.

Does anyone have any clues on what I'm doing wrong?

4 REPLIES 4

DrewW
Mega Sage
Mega Sage

It does sound like a security issue.  Did you verify that the user has access to the actual data, not just a report_view ACL?

 

peter0611
Tera Contributor

The data broker server script that is the source of the chart/data visualization is performing a simple glide query on a table to returns some field data. I've confirmed the user has access to view the table. But I agree this has to be security related, just not sure of the cause.

DrewW
Mega Sage
Mega Sage

Have you checked the system log for errors and have you put logging statements into your data broker code to see if maybe its failing at some point?  The logging will at least tell you if your code is being run.

peter0611
Tera Contributor

Sorry for the late reply. I've added logging to the data broker script and confirmed it only runs as admin and not as internal user. I added a log statement at the beginning of the script too, before any action is even taken. So it's not even an access issue to queried table . It seems the actual data broker execution is off access to non-admins?