Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2681419
D25598.1734641534.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
2 KB
Referenced Files
None
Subscribers
None
D25598.1734641534.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -1798,6 +1798,7 @@
'ManiphestCustomFieldStringIndex' => 'applications/maniphest/storage/ManiphestCustomFieldStringIndex.php',
'ManiphestDAO' => 'applications/maniphest/storage/ManiphestDAO.php',
'ManiphestDefaultEditCapability' => 'applications/maniphest/capability/ManiphestDefaultEditCapability.php',
+ 'ManiphestDefaultPriorityEditCapability' => 'applications/maniphest/capability/ManiphestDefaultPriorityEditCapability.php',
'ManiphestDefaultViewCapability' => 'applications/maniphest/capability/ManiphestDefaultViewCapability.php',
'ManiphestEditConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestEditConduitAPIMethod.php',
'ManiphestEditEngine' => 'applications/maniphest/editor/ManiphestEditEngine.php',
@@ -8004,6 +8005,7 @@
'ManiphestCustomFieldStringIndex' => 'PhabricatorCustomFieldStringIndexStorage',
'ManiphestDAO' => 'PhabricatorLiskDAO',
'ManiphestDefaultEditCapability' => 'PhabricatorPolicyCapability',
+ 'ManiphestDefaultPriorityEditCapability' => 'PhabricatorPolicyCapability',
'ManiphestDefaultViewCapability' => 'PhabricatorPolicyCapability',
'ManiphestEditConduitAPIMethod' => 'PhabricatorEditEngineAPIMethod',
'ManiphestEditEngine' => 'PhabricatorEditEngine',
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
@@ -77,6 +77,12 @@
}
if (!$saved) {
+ if (!$viewer->isLoggedIn()) {
+ // 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 access this panel.'));
+ }
throw new Exception(
pht(
'Query "%s" is unknown to application search engine "%s"!',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 20:52 (20 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015372
Default Alt Text
D25598.1734641534.diff (2 KB)
Attached To
Mode
D25598: Fix exception for anonymous viewers on dashboard query panels with user-specific data
Attached
Detach File
Event Timeline
Log In to Comment