VizAlerts icon indicating copy to clipboard operation
VizAlerts copied to clipboard

VizAlertsConfig workbook contains logic error for customized views

Open mcoles opened this issue 5 years ago • 0 comments

In the custom SQL for the postgreSQL connection in the VizAlertsConfig workbook, the domain name for a user's customized view is being pulled from the "d" (domains) table, but this is actually the domain name for the user who created the workbook/view, not the user who created the customized view:

    INNER JOIN users u
        ON v.owner_id = u.id

That's incorrect, and in a multi-domain environment, this could cause issues (probably rarely, but it'd be tough to troubleshoot).

mcoles avatar May 07 '19 14:05 mcoles