1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 07:50:57 +01:00

Scope commits page on people to just your commits

Summary: This is overly broad and I missed it in local testing with just a single account. Let's pull just the author in.

Test Plan: Review a commit page that wasn't my own, see other authors commits.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17481
This commit is contained in:
Chad Little 2017-03-07 22:37:42 -08:00
parent 2ebdf2e080
commit abff6dc8a9

View file

@ -59,6 +59,7 @@ final class PhabricatorPeopleProfileCommitsController
$commits = id(new DiffusionCommitQuery())
->setViewer($viewer)
->withAuthorPHIDs(array($user->getPHID()))
->needAuditRequests(true)
->needCommitData(true)
->needDrafts(true)