Files
gerrit/gerrit-httpd
David Pursehouse c4e5006006 Only show draft change dependency if current user is owner or reviewer
In the change screen, the dependencies panel shows draft changes in
the "Depends On" and "Needed By" lists for all users, and when there
is no user logged in.  This is incorrect; draft changes should only
be visible to their owner and users who have been added as reviewer.

Add a check when building the dependency lists, to exclude draft
changes that are neither owned by the currently signed in user nor
include the signed in user as reviewer.

Bug: Issue 1442
Change-Id: Ib01db1cb9e9071110217ce727dbb07c23ecfc199
2012-06-27 07:24:43 -07:00
..