Skip to content

Commit abff6dc

Browse files
author
Chad Little
committedMar 8, 2017
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
1 parent 2ebdf2e commit abff6dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/applications/people/controller/PhabricatorPeopleProfileCommitsController.php

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ private function buildCommitsView(PhabricatorUser $user) {
5959

6060
$commits = id(new DiffusionCommitQuery())
6161
->setViewer($viewer)
62+
->withAuthorPHIDs(array($user->getPHID()))
6263
->needAuditRequests(true)
6364
->needCommitData(true)
6465
->needDrafts(true)

0 commit comments

Comments
 (0)
Failed to load comments.