{{#if (gt items.length 0)}} {{#if (eq item.AccessorID token.AccessorID)}}
Your token
{{/if}} {{substr item.AccessorID -8}}
Scope
{{if item.Local 'local' 'global' }}
{{#let (policy/group item.Policies) as |policies|}} {{#let (get policies 'management') as |management|}} {{#if (gt management.length 0)}}
Management
{{#each (get policies 'management') as |item|}} {{item.Name}} {{/each}}
{{/if}} {{/let}} {{#let (get policies 'identities') as |identities|}} {{#if (gt identities.length 0)}}
Identities
{{#each identities as |item|}} {{if (eq item.template 'service-identity') 'Service' 'Node'}} Identity: {{item.Name}} {{/each}}
{{/if}} {{/let}} {{#let (append (get policies 'policies') item.Roles) as |policies|}} {{#if (gt policies.length 0)}}
Rules
{{#if (token/is-legacy item) }} Legacy tokens have embedded rules. {{ else }} {{#each policies as |item|}} {{item.Name}} {{/each}} {{/if}}
{{/if}} {{/let}} {{/let}}
Description
{{or item.Description item.Name}}
More
  • Edit
  • {{#if (not (token/is-legacy item))}}
  • {{/if}} {{#if (eq item.AccessorID token.AccessorID) }}
  • Confirm logout

    Are you sure you want to stop using this ACL token? This will log you out.

  • {{else}}
  • Confirm use

    Are you sure you want to use this ACL token?

  • {{/if}} {{#unless (or (token/is-anonymous item) (eq item.AccessorID token.AccessorID)) }}
  • Confirm Delete

    Are you sure you want to delete this token?

  • {{/unless}}
    {{/if}}