mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 23:21:08 +02:00
22 lines
883 B
Handlebars
22 lines
883 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{#if @model.groupIds}}
|
|
{{#each @model.directGroupIds as |gid|}}
|
|
<LinkTo @route="vault.cluster.access.identity.show" @models={{array "groups" gid "details"}} class="list-item-row">
|
|
<Icon @name="folder" class="has-text-grey-light" />{{gid}}
|
|
</LinkTo>
|
|
{{/each}}
|
|
{{#each @model.inheritedGroupIds as |gid|}}
|
|
<LinkedBlock @params={{array "vault.cluster.access.identity.show" "groups" gid "details"}} class="list-item-row">
|
|
<LinkTo @route="vault.cluster.access.identity.show" @models={{array "groups" gid "details"}} class="has-text-black">
|
|
<Icon @name="folder" class="has-text-grey-light" />{{gid}}
|
|
</LinkTo>
|
|
<Hds::Badge @text="inherited" />
|
|
</LinkedBlock>
|
|
{{/each}}
|
|
{{else}}
|
|
<EmptyState @title="{{@model.name}} is not a member of any groups." />
|
|
{{/if}} |