1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/files/controller
epriestley 591df78361 Bind patches, file content and raw diffs bind policies to their originating objects
Summary:
Fixes T4270. When you download raw file content, diffs, and patches we currently give them default (all users) visibility.

Instead, bind them to the repository or revision in question.

(This code could use a bit of cleanup at some point.)

Test Plan: Hit the patch and content download links in Diffusion and the patch download link in Differential, got restricted files with accurate policy bindings.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4270

Differential Revision: https://secure.phabricator.com/D7849
2013-12-30 11:27:02 -08:00
..
PhabricatorFileCommentController.php File - add transactions and editor 2013-09-05 13:11:02 -07:00
PhabricatorFileComposeController.php Add an icon+background selector for project images 2013-10-17 09:32:34 -07:00
PhabricatorFileController.php PHUIList, PHUIDocument updates 2013-06-05 08:41:43 -07:00
PhabricatorFileDataController.php Implement policies in Phragment 2013-12-13 14:42:12 +11:00
PhabricatorFileDeleteController.php Make most file reads policy-aware 2013-09-30 09:38:13 -07:00
PhabricatorFileDropUploadController.php Pholio - make the form maintain client side edits between file uploads 2013-07-18 15:04:08 -07:00
PhabricatorFileInfoController.php Bind patches, file content and raw diffs bind policies to their originating objects 2013-12-30 11:27:02 -08:00
PhabricatorFileListController.php Move PhabricatorObjectItem to PHUIObjectItem, add 'plain' setting for lists. 2013-09-09 14:14:34 -07:00
PhabricatorFileShortcutController.php Make most file reads policy-aware 2013-09-30 09:38:13 -07:00
PhabricatorFileTransformController.php Make Herald rules obey policies during application 2013-10-05 12:55:34 -07:00
PhabricatorFileUploadController.php Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
PhabricatorFileUploadDialogController.php Rename "Upload Image" dialog to "Upload File" to match purpose 2013-10-11 05:15:45 -07:00