Page MenuHomePhabricator

[lib] add Identity Restore action type
ClosedPublic

Authored by kamil on Thu, Dec 5, 4:32 AM.
Tags
None
Referenced Files
F3505718: D14081.id46314.diff
Fri, Dec 20, 2:21 PM
F3505477: D14081.id46309.diff
Fri, Dec 20, 1:39 PM
F3505333: D14081.id46217.diff
Fri, Dec 20, 1:11 PM
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
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
Branch
restore
Lint
No Lint Coverage
Unit
No Test Coverage

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

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

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.