1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 13:00:56 +01:00

Minor, allow public access to dashboards and panels.

This commit is contained in:
epriestley 2014-06-23 16:48:24 -07:00
parent 3303a1664b
commit 2c56bbdbca
5 changed files with 20 additions and 0 deletions

View file

@ -5,6 +5,10 @@ final class PhabricatorDashboardListController
private $queryKey; private $queryKey;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) { public function willProcessRequest(array $data) {
$this->queryKey = idx($data, 'queryKey'); $this->queryKey = idx($data, 'queryKey');
} }

View file

@ -5,6 +5,10 @@ final class PhabricatorDashboardPanelListController
private $queryKey; private $queryKey;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) { public function willProcessRequest(array $data) {
$this->queryKey = idx($data, 'queryKey'); $this->queryKey = idx($data, 'queryKey');
} }

View file

@ -5,6 +5,10 @@ final class PhabricatorDashboardPanelRenderController
private $id; private $id;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) { public function willProcessRequest(array $data) {
$this->id = $data['id']; $this->id = $data['id'];
} }

View file

@ -5,6 +5,10 @@ final class PhabricatorDashboardPanelViewController
private $id; private $id;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) { public function willProcessRequest(array $data) {
$this->id = $data['id']; $this->id = $data['id'];
} }

View file

@ -5,6 +5,10 @@ final class PhabricatorDashboardViewController
private $id; private $id;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) { public function willProcessRequest(array $data) {
$this->id = $data['id']; $this->id = $data['id'];
} }