Page MenuHomePhabricator

[lib] add Identity Restore action type
ClosedPublic

Authored by kamil on Thu, Dec 5, 4:32 AM.
Tags
None
Referenced Files
F3504631: D14081.diff
Fri, Dec 20, 9:46 AM
Unknown Object (File)
Thu, Dec 19, 1:00 AM
Unknown Object (File)
Wed, Dec 18, 12:59 PM
Unknown Object (File)
Mon, Dec 16, 6:06 AM
Unknown Object (File)
Sun, Dec 15, 10:29 PM
Unknown Object (File)
Sun, Dec 15, 4:19 AM
Unknown Object (File)
Sun, Dec 15, 3:58 AM
Unknown Object (File)
Thu, Dec 12, 10:56 AM
Subscribers

Details

Summary

ENG-8195.

Action type to restore, similar to other Identity-auth actions.

I went through all places where identityLogInActionTypes and identityRegisterActionTypes are reduced to make sure identityRestoreActionTypes is handled in a similar way

Depends on D14080

Test Plan

Flow, logic tested later in the stack

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Fri, Dec 6, 1:43 AM
kamil added inline comments.
lib/actions/user-actions.js
1478–1482 ↗(On Diff #46217)

Not sure if we should use IDENTITY_ prefix as this is not only Identity call but a lot more (see next diff)

bartek added inline comments.
lib/actions/user-actions.js
1478–1482 ↗(On Diff #46217)

I'd call this RESTORE_USER_ - it keeps parity with the RPC name and might be more accurate

This revision is now accepted and ready to land.Fri, Dec 6, 2:30 AM
This revision was automatically updated to reflect the committed changes.