Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14413722
D19901.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
799 B
Referenced Files
None
Subscribers
None
D19901.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19901: Allow "MFA Required" objects to be edited without MFA if the edit is only creating inverse edges
Attached
Detach File
Event Timeline
Log In to Comment