mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
Allow lightbox comments to be viewed logged out
Summary: Fixes T12160. Lightbox thread view should be visible if file is public. Test Plan: Add a file to a task, log out, click on file in task, get lightbox and no error. Expand comments, see login box. {F2867067} {F2867088} {F2867098} {F2867114} {F2867124} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12160 Differential Revision: https://secure.phabricator.com/D17347
This commit is contained in:
parent
6f37685a75
commit
f9163bf065
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
final class PhabricatorFileLightboxController
|
||||
extends PhabricatorFileController {
|
||||
|
||||
public function shouldAllowPublic() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function handleRequest(AphrontRequest $request) {
|
||||
$viewer = $request->getViewer();
|
||||
$phid = $request->getURIData('phid');
|
||||
|
|
Loading…
Reference in a new issue