Page MenuHomePhabricator

[lib][web][native] Use real admin username or id when adding a ks
ClosedPublic

Authored by inka on Mar 8 2024, 3:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 2:29 PM
Unknown Object (File)
Wed, Nov 13, 10:25 PM
Unknown Object (File)
Wed, Nov 6, 3:52 PM
Unknown Object (File)
Oct 15 2024, 4:55 PM
Unknown Object (File)
Oct 15 2024, 4:55 PM
Unknown Object (File)
Oct 15 2024, 4:55 PM
Unknown Object (File)
Oct 15 2024, 4:55 PM
Unknown Object (File)
Oct 15 2024, 4:50 AM
Subscribers

Details

Summary

This was a part of my patch diff D11141, but actually it would make sense to already land this
This partially addresses ENG-6298, becuse if someone is set up with identity, then the real username will be used

Test Plan

Added a keyserver on native, and checked that the keyserver shows up on the list of keyservers with username keyserver<id>

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Mar 8 2024, 4:23 AM

Code LGTM, in ENG-6298 you mentioned,

The only hack is that if we don't have the user in our user store, we display a fake username. But the id is correct.

Probably would be good to create a followup task to address this new hack

This revision is now accepted and ready to land.Mar 8 2024, 11:36 AM

Code LGTM, in ENG-6298 you mentioned,

The only hack is that if we don't have the user in our user store, we display a fake username. But the id is correct.

Probably would be good to create a followup task to address this new hack

Here is the task: ENG-7191