Page MenuHomePhorge

D25598.1737911807.diff
No OneTemporary

D25598.1737911807.diff

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(

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 26, 17:16 (4 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1148589
Default Alt Text
D25598.1737911807.diff (722 B)

Event Timeline