diff --git a/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php b/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php --- a/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php +++ b/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php @@ -76,6 +76,13 @@ ->executeOne(); } + if (!$viewer->isLoggedIn() && !$saved) { + // If user is not logged in, authored/assigned/etc queries are empty. + return id(new PHUIObjectItemListView()) + ->setUser($viewer) + ->setNoDataString(pht('You must log in to see this data.')); + } + if (!$saved) { throw new Exception( pht(