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
F3388473: D10603.id35655.diff
Fri, Nov 29, 2:30 PM
F3388243: D10603.diff
Fri, Nov 29, 1:19 PM
Unknown Object (File)
Sat, Nov 16, 10:14 AM
Unknown Object (File)
Oct 16 2024, 3:26 AM
Unknown Object (File)
Oct 16 2024, 3:26 AM
Unknown Object (File)
Oct 16 2024, 3:26 AM
Unknown Object (File)
Oct 16 2024, 3:26 AM
Unknown Object (File)
Oct 16 2024, 3:25 AM
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