mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +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'];
|
$this->id = $data['id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function shouldAllowPublic() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public function processRequest() {
|
public function processRequest() {
|
||||||
$request = $this->getRequest();
|
$request = $this->getRequest();
|
||||||
$user = $request->getUser();
|
$user = $request->getUser();
|
||||||
|
|
Loading…
Reference in a new issue