Audit - add ability to add a package as an auditor

Summary: Fixes T4687. This was also pretty easy...!

Test Plan: made a package with a test user as owner. added package as owner. looked right on commit page. logged in as test user and verified audit showed up on home page.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: chad, epriestley, Korvin

Maniphest Tasks: T4687

Differential Revision: https://secure.phabricator.com/D8705
This commit is contained in:
Bob Trahan
2014-04-04 12:25:03 -07:00
parent 496a7d8967
commit f67a853fe7
3 changed files with 11 additions and 3 deletions

View File

@@ -778,9 +778,9 @@ final class DiffusionCommitController extends DiffusionController {
'dynamic' => array(
'add-auditors-tokenizer' => array(
'actions' => array('add_auditors' => 1),
'src' => '/typeahead/common/usersorprojects/',
'src' => '/typeahead/common/usersprojectsorpackages/',
'row' => 'add-auditors',
'placeholder' => pht('Type a user or project name...'),
'placeholder' => pht('Type a user, project, or package name...'),
),
'add-ccs-tokenizer' => array(
'actions' => array('add_ccs' => 1),