mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-08 10:24:48 +01:00
allow phids other than users (i.e. mailinglists)
Summary: Via the UI adding a mailinglist for CC works, but via the API currently it shows: >One or more PHIDs were invalid for ccPHIDS This removes the user validation check for ccPHIDs. (I left it in for other things like owner since that seems still appropriate?) Test Plan: used arc locally to add a mailinglist to cc ```echo '{"id": 2, "ccPHIDs": ["PHID-MLST-ohduchbv4dfimk7opt3r"]}' | arc call-conduit maniphest.update``` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10193
This commit is contained in:
parent
59a85e8845
commit
57eb3aecb6
1 changed files with 0 additions and 4 deletions
|
@ -109,10 +109,6 @@ abstract class ManiphestConduitAPIMethod extends ConduitAPIMethod {
|
|||
|
||||
$ccs = $request->getValue('ccPHIDs');
|
||||
if ($ccs !== null) {
|
||||
$this->validatePHIDList(
|
||||
$ccs,
|
||||
PhabricatorPeopleUserPHIDType::TYPECONST,
|
||||
'ccPHIDS');
|
||||
$changes[ManiphestTransaction::TYPE_CCS] = $ccs;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue