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
F2137973: D10603.diff
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
Unknown Object (File)
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
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