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/differential/query
epriestley d61c931c7b Use Differential policy columns to drive policies
Summary:
Ref T603. Read policies out of policy columns.

When a revision is associated with a repository (which is currently never), require view access on the repository to see the revision (or, require the viewer to be the owner). This is a blanket "do the right thing" rule which should make Differential's default policies align with user expectations.

Future diffs will populate the `repositoryPHID` when a revision is created.

Test Plan: Tooled around Differential. None of this stuff does anything yet, so nothing very exciting happened.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7134
2013-09-26 12:36:45 -07:00
..
DifferentialCommentQuery.php
DifferentialDiffQuery.php Fix differential.getdiff, etc., for diffs with no Arcanist Project 2013-09-24 10:48:40 -07:00
DifferentialInlineCommentQuery.php
DifferentialRevisionQuery.php Use Differential policy columns to drive policies 2013-09-26 12:36:45 -07:00
DifferentialRevisionSearchEngine.php Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00