From 1bd714f8ac489ab0f34d54fe58d84901547f2437 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Wed, 6 Aug 2014 15:20:33 -0700 Subject: [PATCH] Macro - allow view controller to be viewed publicly Summary: Fixes T5735, setting up Phacility for huge financial success. Test Plan: opened up Safari - who logs in with Safari anyway? - and could still view a macro could also view the list of macros Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5735 Differential Revision: https://secure.phabricator.com/D10170 --- .../macro/controller/PhabricatorMacroViewController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/applications/macro/controller/PhabricatorMacroViewController.php b/src/applications/macro/controller/PhabricatorMacroViewController.php index d8336ca268..01a3e9a926 100644 --- a/src/applications/macro/controller/PhabricatorMacroViewController.php +++ b/src/applications/macro/controller/PhabricatorMacroViewController.php @@ -9,6 +9,10 @@ final class PhabricatorMacroViewController $this->id = $data['id']; } + public function shouldAllowPublic() { + return true; + } + public function processRequest() { $request = $this->getRequest(); $user = $request->getUser();