Page MenuHomePhabricator

Allow objects to be put in an "MFA required for all interactions" mode, and support "MFA required" statuses in Maniphest
ClosedPublic

Authored by epriestley on Dec 18 2018, 3:19 PM.
Tags
None
Referenced Files
F14416590: D19899.diff
Tue, Dec 24, 10:09 PM
Unknown Object (File)
Sat, Dec 14, 5:32 PM
Unknown Object (File)
Thu, Dec 12, 7:38 PM
Unknown Object (File)
Wed, Dec 11, 6:53 PM
Unknown Object (File)
Tue, Dec 3, 3:52 PM
Unknown Object (File)
Wed, Nov 27, 4:54 AM
Unknown Object (File)
Tue, Nov 26, 1:20 PM
Unknown Object (File)
Nov 23 2024, 3:51 PM
Subscribers
None

Details

Summary

Depends on D19898. Ref T13222. See PHI873. Allow objects to opt into an "MFA is required for all edits" mode.

Put tasks in this mode if they're in a status that specifies it is an mfa status.

This is still a little rough for now:

  • There's no UI hint that you'll have to MFA. I'll likely add some hinting in a followup.
  • All edits currently require MFA, even subscribe/unsubscribe. We could maybe relax this if it's an issue.
Test Plan
  • Edited an MFA-required object via comments, edit forms, and most/all of the extensions. These prompted for MFA, then worked correctly.
  • Tried to edit via Conduit, failed with a reasonably comprehensible error.

Diff Detail

Repository
rP Phabricator
Branch
mfa17
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21363
Build 29080: Run Core Tests
Build 29079: arc lint + arc unit

Event Timeline

most/all of the extensions

Oh, it looks like awarding tokens doesn't actually work yet. This doesn't seem critical.

Also, if you fail to MFA a normal edit form you lose your work if you "cancel" (although you can "Back" twice) since MFA doesn't do a workflow overlay dialog. I'll make edit forms become workflow forms if they're going to MFA (or maybe unconditionally) and clean this other stuff up in followups.

This revision is now accepted and ready to land.Dec 18 2018, 10:21 PM
This revision was automatically updated to reflect the committed changes.