Allow users to set view policies on files explicitly

Summary: Ref T4589. Allow users to adjust visibility settings on files explicitly. This makes it easier to understand and manage upcoming changes in T4589.

Test Plan: Changed the view policy for a file several times.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4589

Differential Revision: https://secure.phabricator.com/D10129
This commit is contained in:
epriestley
2014-08-02 14:45:50 -07:00
parent b5750412c7
commit 4c04d4d019
7 changed files with 128 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ final class PhabricatorFileShortcutController
return new Aphront404Response();
}
return id(new AphrontRedirectResponse())->setURI($file->getBestURI());
return id(new AphrontRedirectResponse())->setURI($file->getInfoURI());
}
}