UI: Display names for related identity groups and entities - #32079
UI: Display names for related identity groups and entities#32079sgabenov wants to merge 2 commits into
Conversation
|
Deployment failed for project vault-ui with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes gabenov.s seems not to be a GitHub user. Have you signed the CLA already but the status is still pending? Recheck it. |
6b69c35 to
e0ab3ae
Compare
|
Deployment failed for project vault-ui with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
|
Deployment failed for project vault-ui with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
Issues
Fixes #31494.
Related to #15740 and #31495.
Description
Display readable names instead of raw IDs for identity relationships in the Vault UI:
The identity read endpoints expose only relationship IDs. The UI now resolves those IDs from the existing identity list endpoints, whose
key_infocontains both IDs and names. IDs remain available as native tooltips.This approach makes at most one additional list request per related identity type, and only when the active tab has relationships to display. It avoids issuing a separate read request for every row. If a list request fails, for example because the token lacks list permission, the page continues to render and falls back to the original IDs.
This is an updated alternative to #31495, adapted to the current API-service-based identity routes.
User impact
Operators can identify related groups and entities without copying UUIDs into separate lookups. The fallback preserves the existing behavior for restricted policies.
Testing
ember-template-lintfor the changed identity templateseslintfor the changed route and acceptance testsgit diff --checkPCI review checklist