Allow anonymus access to Differential.

Summary:
Add possibility for not logged in users to browse and see Differential
revisions.

Test Plan:
Set 'differential.anonymous-access' config option to true, log out, you should
be able to browse Differential without logging back in.

Reviewers: epriestley, jungejason

Reviewed By: epriestley

CC: aran, epriestley, mareksapota

Differential Revision: 1044
This commit is contained in:
Marek Sapota
2011-10-24 12:27:16 -07:00
parent 0778f35272
commit 789dc6cb5e
8 changed files with 197 additions and 134 deletions

View File

@@ -19,6 +19,10 @@
class DifferentialChangesetViewController extends DifferentialController {
public function shouldRequireLogin() {
return !$this->allowsAnonymousAccess();
}
public function processRequest() {
$request = $this->getRequest();