1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-17 17:28:42 +01:00
phorge-phorge/src/applications/dashboard/controller
epriestley 29df80b48f Fix a fatal during breadcrumb construction when viewing a dashboard you don't have permission to view
Summary: Ref PHI662. Viewing a dashboard you don't have permission to view (in the Dashboard application) currently fatals while building crumbs, since we fail to build the ` ... > Dashboard 123 > ...` crumb.

Test Plan:
  - Viewed a dashboard I didn't have permission to view in the Dashboards application.
  - Before patch, fatal when calling `getID()` on a non-object.
  - After patch, sensible policy error page.
  - Viewed a dashboard I can view, saw sensible crumbs.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19449
2018-05-14 12:06:56 -07:00
..
PhabricatorDashboardAddPanelController.php Don't allow duplicate panels on dashboards 2017-02-14 07:24:03 -08:00
PhabricatorDashboardArchiveController.php Add DashboardArchiveController 2015-12-09 12:29:59 -08:00
PhabricatorDashboardArrangeController.php Basic "Install Dashboard" workflow 2017-03-14 14:21:56 -07:00
PhabricatorDashboardController.php Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
PhabricatorDashboardEditController.php Update Dashboards for new Edit UI 2017-09-05 20:17:18 -07:00
PhabricatorDashboardInstallController.php Basic "Install Dashboard" workflow 2017-03-14 14:21:56 -07:00
PhabricatorDashboardListController.php Update Dashboard for handleRequest 2015-07-22 13:27:30 -07:00
PhabricatorDashboardManageController.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
PhabricatorDashboardMovePanelController.php Update Dashboard for handleRequest 2015-07-22 13:27:30 -07:00
PhabricatorDashboardPanelArchiveController.php Update Dashboard for handleRequest 2015-07-22 13:27:30 -07:00
PhabricatorDashboardPanelEditController.php Simplify dashboard panel creation 2017-02-22 17:50:29 -08:00
PhabricatorDashboardPanelEditproController.php Implement a "pro" EditEngine for dashboard panels 2016-07-03 15:07:36 -07:00
PhabricatorDashboardPanelListController.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorDashboardPanelRenderController.php Allow users who can edit a dashboard to remove invalid / restricted panels 2017-02-04 16:33:47 -08:00
PhabricatorDashboardPanelViewController.php Allow users who can edit a dashboard to remove invalid / restricted panels 2017-02-04 16:33:47 -08:00
PhabricatorDashboardProfileController.php Fix a fatal during breadcrumb construction when viewing a dashboard you don't have permission to view 2018-05-14 12:06:56 -07:00
PhabricatorDashboardQueryPanelInstallController.php Provide a 'no dashboards' fallback state if you can't add any 2017-03-21 11:43:02 -07:00
PhabricatorDashboardRemovePanelController.php Touch up basic usability of Dashboards 2017-02-09 14:20:47 -08:00
PhabricatorDashboardViewController.php Make the Install Dashboard button green 2017-05-22 22:26:58 +00:00