Page MenuHomePhabricator

[lib][web][native] Make possible to log out of one keyserver / delete account on one keyserver
ClosedPublic

Authored by inka on Jan 11 2024, 7:37 AM.
Tags
None
Referenced Files
F2156302: D10603.id35602.diff
Sun, Jun 30, 11:38 PM
F2146896: D10603.id.diff
Sun, Jun 30, 12:35 AM
Unknown Object (File)
Sat, Jun 29, 4:15 AM
Unknown Object (File)
Fri, Jun 28, 10:34 PM
Unknown Object (File)
Fri, Jun 28, 8:11 PM
Unknown Object (File)
Thu, Jun 27, 3:43 PM
Unknown Object (File)
Thu, Jun 27, 1:10 PM
Unknown Object (File)
Wed, Jun 26, 12:04 PM
Subscribers

Details

Summary

issue: ENG-5766
We want to be able to log out / delete account on a subset of keyservers
I'm also moving fetching preRequestUserState into useDeleteKeyserverAccount, to make the code clearer.

Test Plan

Tested that it is still possible to delete account and logout on both platforms

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Jan 11 2024, 8:00 AM
michal added inline comments.
lib/actions/user-actions.js
74–77 ↗(On Diff #35533)

Can this be readonly?

lib/types/account-types.js
37–40 ↗(On Diff #35533)

I think you need to wrap it in $ReadOnly<> as flow loses readonly on fields when you spread another object.

This revision is now accepted and ready to land.Jan 12 2024, 5:50 AM