mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
Adds copy button to entity, alias and mfa method ID fields (#28742)
* make id buttons copyable * add changelog
This commit is contained in:
3
changelog/28742.txt
Normal file
3
changelog/28742.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:improvement
|
||||
ui: Adds copy button to identity entity, alias and mfa method IDs
|
||||
```
|
||||
@@ -4,12 +4,11 @@
|
||||
~}}
|
||||
|
||||
<InfoTableRow @label="Name" @value={{@model.name}} data-test-alias-name={{true}} />
|
||||
<InfoTableRow @label="ID" @value={{@model.id}} />
|
||||
<InfoTableRow @label="ID" @value={{@model.id}} @addCopyButton={{true}} />
|
||||
<InfoTableRow @label={{if (eq @model.identityType "entity-alias") "Entity ID" "Group ID"}} @value={{this.model.canonicalId}}>
|
||||
<LinkTo
|
||||
@route="vault.cluster.access.identity.show"
|
||||
@models={{array (if (eq @model.identityType "entity-alias") "entities" "groups") @model.canonicalId "details"}}
|
||||
class="has-text-black is-font-mono"
|
||||
>
|
||||
{{@model.canonicalId}}
|
||||
</LinkTo>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{{/if}}
|
||||
<InfoTableRow @label="Name" @value={{@model.name}} data-test-identity-item-name={{true}} />
|
||||
<InfoTableRow @label="Type" @value={{@model.type}} />
|
||||
<InfoTableRow @label="ID" @value={{@model.id}} />
|
||||
<InfoTableRow @label="ID" @value={{@model.id}} @addCopyButton={{true}} />
|
||||
<InfoTableRow @label="Merged Ids" @value={{@model.mergedEntityIds}}>
|
||||
<div>
|
||||
{{#each @model.mergedEntityIds as |id|}}
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
</ToolbarActions>
|
||||
</Toolbar>
|
||||
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
|
||||
<InfoTableRow @label="ID" @value={{this.model.method.id}} @addCopyButton={{true}} />
|
||||
{{#each this.model.method.attrs as |attr|}}
|
||||
{{#if (eq attr.type "object")}}
|
||||
<InfoTableRow
|
||||
|
||||
Reference in New Issue
Block a user