diff --git a/src/applications/diviner/controller/DivinerMainController.php b/src/applications/diviner/controller/DivinerMainController.php index bd150f87f1..2ac8f4d69d 100644 --- a/src/applications/diviner/controller/DivinerMainController.php +++ b/src/applications/diviner/controller/DivinerMainController.php @@ -2,6 +2,10 @@ final class DivinerMainController extends DivinerController { + public function shouldAllowPublic() { + return true; + } + public function processRequest() { $request = $this->getRequest(); $viewer = $request->getUser(); diff --git a/src/applications/diviner/storage/DivinerLiveBook.php b/src/applications/diviner/storage/DivinerLiveBook.php index e6a1ac806b..7b8ff7562a 100644 --- a/src/applications/diviner/storage/DivinerLiveBook.php +++ b/src/applications/diviner/storage/DivinerLiveBook.php @@ -57,7 +57,7 @@ final class DivinerLiveBook extends DivinerDAO } public function getPolicy($capability) { - return $this->viewPolicy; + return PhabricatorPolicies::getMostOpenPolicy(); } public function hasAutomaticCapability($capability, PhabricatorUser $viewer) {