Data visualization component is unavailable to non-admins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 03:03 PM - edited ‎12-03-2024 03:06 PM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 10:39 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 11:05 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 11:21 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2024 07:43 AM
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?