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)
Tue, May 7, 8:10 AM
Unknown Object (File)
Mon, May 6, 9:11 PM
Unknown Object (File)
Mon, May 6, 3:36 PM
Unknown Object (File)
Sat, May 4, 4:43 PM
Unknown Object (File)
Thu, Apr 25, 7:48 AM
Unknown Object (File)
Apr 7 2024, 2:26 PM
Unknown Object (File)
Mar 30 2024, 2:21 AM
Unknown Object (File)
Mar 15 2024, 8:59 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