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
F2111296: D10603.id35649.diff
Tue, Jun 25, 10:31 PM
Unknown Object (File)
Fri, Jun 14, 4:43 PM
Unknown Object (File)
Fri, Jun 14, 6:51 AM
Unknown Object (File)
Thu, Jun 13, 6:48 AM
Unknown Object (File)
Thu, Jun 6, 8:18 PM
Unknown Object (File)
Thu, Jun 6, 4:21 AM
Unknown Object (File)
Sun, Jun 2, 2:31 AM
Unknown Object (File)
May 23 2024, 2:41 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