Page MenuHomePhabricator

D19901.diff
No OneTemporary

D19901.diff

diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -4893,6 +4893,13 @@
return $xactions;
}
+ // If the user is mentioning an MFA object on another object or creating
+ // a relationship like "parent" or "child" to this object, we allow the
+ // edit to move forward without requiring MFA.
+ if ($this->getIsInverseEdgeEditor()) {
+ return $xactions;
+ }
+
$template = $object->getApplicationTransactionTemplate();
$mfa_xaction = id(clone $template)

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 2:34 PM (10 h, 43 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6926724
Default Alt Text
D19901.diff (799 B)

Event Timeline