mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +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:
parent
2ebdf2e080
commit
abff6dc8a9
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ final class PhabricatorPeopleProfileCommitsController
|
|||
|
||||
$commits = id(new DiffusionCommitQuery())
|
||||
->setViewer($viewer)
|
||||
->withAuthorPHIDs(array($user->getPHID()))
|
||||
->needAuditRequests(true)
|
||||
->needCommitData(true)
|
||||
->needDrafts(true)
|
||||
|
|
Loading…
Reference in a new issue