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, Dec 24, 2:04 AM
Unknown Object (File)
Tue, Dec 24, 2:04 AM
Unknown Object (File)
Tue, Dec 24, 2:04 AM
Unknown Object (File)
Tue, Dec 24, 2:04 AM
Unknown Object (File)
Thu, Dec 5, 3:31 AM
Unknown Object (File)
Thu, Dec 5, 3:30 AM
Unknown Object (File)
Thu, Dec 5, 3:29 AM
Unknown Object (File)
Thu, Dec 5, 3:09 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