Page MenuHomePhabricator

Bind patches, file content and raw diffs bind policies to their originating objects
ClosedPublic

Authored by epriestley on Dec 28 2013, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 10:38 AM
Unknown Object (File)
Fri, Dec 13, 4:36 AM
Unknown Object (File)
Sun, Dec 8, 2:07 AM
Unknown Object (File)
Mon, Nov 25, 8:08 PM
Unknown Object (File)
Nov 9 2024, 8:16 PM
Unknown Object (File)
Oct 27 2024, 6:06 PM
Unknown Object (File)
Oct 23 2024, 12:29 PM
Unknown Object (File)
Oct 17 2024, 12:44 AM
Subscribers

Details

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.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped