mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
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
This commit is contained in:
parent
09868271bd
commit
1bd714f8ac
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue