1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Audit - add ability to add user or projects as auditors

Summary: Ref T4687. Trickier part is adding packages; will require some typeahead core changes

Test Plan: add a project as an auditor succuessfully!

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4687

Differential Revision: https://secure.phabricator.com/D8704
This commit is contained in:
Bob Trahan 2014-04-04 11:29:10 -07:00
parent c8cf7bb506
commit 6b5308c981

View file

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