1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/differential/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
..
DifferentialChangesetViewController.php Remove differential.anonymous-access 2013-11-11 16:05:19 -08:00
DifferentialCommentPreviewController.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DifferentialCommentSaveController.php Make most Differential reads policy-aware 2013-09-26 12:37:19 -07:00
DifferentialController.php Remove differential.anonymous-access 2013-11-11 16:05:19 -08:00
DifferentialDiffCreateController.php Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
DifferentialDiffViewController.php Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
DifferentialInlineCommentEditController.php Migrate all Differential inline comments to ApplicationTransactions 2013-10-19 05:03:25 -07:00
DifferentialInlineCommentPreviewController.php Abstract access to DifferentialInlineComment behind a Query 2013-06-21 12:54:56 -07:00
DifferentialRevisionDetailRenderer.php Pass user to DifferentialRevisionDetailRenderer 2013-03-04 11:32:02 -08:00
DifferentialRevisionEditController.php Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
DifferentialRevisionLandController.php Land to GitHub + support stuff 2013-11-13 17:25:24 -08:00
DifferentialRevisionListController.php Remove differential.anonymous-access 2013-11-11 16:05:19 -08:00
DifferentialRevisionViewController.php Bind patches, file content and raw diffs bind policies to their originating objects 2013-12-30 11:27:02 -08:00
DifferentialSubscribeController.php Use DifferentialRevisionQuery in differential controllers 2013-07-15 16:01:31 -07:00