@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Support logged-out access to the document rendering endpoint

Summary: Ref T13105. Currently, logged-out users can't render documents via the endpoint even if they otherwise have access to the file.

Test Plan: Viewed a file as a logged-out user and re-rendered it via Ajax.

Reviewers: mydeveloperday

Reviewed By: mydeveloperday

Maniphest Tasks: T13105

Differential Revision: https://secure.phabricator.com/D19258

+4
+4
src/applications/files/controller/PhabricatorFileDocumentController.php
··· 7 7 private $engine; 8 8 private $ref; 9 9 10 + public function shouldAllowPublic() { 11 + return true; 12 + } 13 + 10 14 public function handleRequest(AphrontRequest $request) { 11 15 $viewer = $request->getViewer(); 12 16