SELECT dashboard_info.dashboard_title,
dashboard_info.ui_page,
dashboard_info.tab_position,
dashboard_info.url,
dashboard_info.dashboard_hover
FROM ( relaybdlive.dash_roles dash_roles
INNER JOIN
relaybdlive.user_roles user_roles
ON (dash_roles.role_name = user_roles.role_name))
INNER JOIN
relaybdlive.dashboard_info dashboard_info
ON (dash_roles.dash_name = dashboard_info.dash_name)
WHERE (user_roles.user_name = $criteria.user_name)