{{#app-view class="acl list" loading=isLoading}} {{#block-slot name='notification' as |status type|}} {{partial 'dc/acls/notifications'}} {{/block-slot}} {{#block-slot name='header'}}

ACL Tokens {{format-number items.length}} total

{{/block-slot}} {{#block-slot name='actions'}} Create {{/block-slot}} {{#block-slot name='toolbar'}} {{#if (gt items.length 0) }} {{acl-filter searchable=searchable filters=typeFilters search=filters.s type=filters.type onchange=(action 'filter')}} {{/if}} {{/block-slot}} {{#block-slot name='content'}} {{#changeable-set dispatcher=searchable}} {{#block-slot name='set' as |filtered|}} {{#tabular-collection items=(sort-by 'Name:asc' filtered) as |item index| }} {{#block-slot name='header'}} Name Type {{/block-slot}} {{#block-slot name='row'}} {{item.Name}} {{#if (eq item.Type 'management')}} {{item.Type}} {{else}} {{item.Type}} {{/if}} {{/block-slot}} {{#block-slot name='actions' as |index change checked|}} {{#popover-menu expanded=(if (eq checked index) true false) onchange=(action change index) keyboardAccess=false submenus=(array 'logout' 'use' 'delete') }} {{#block-slot name='trigger'}} More {{/block-slot}} {{#block-slot name='menu' as |confirm send keypressClick|}}
  • Edit
  • {{#if (eq item.ID token.SecretID) }}
  • 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}}
  • {{# if (not-eq item.ID 'anonymous') }}
  • Confirm Delete

    Are you sure you want to delete this token?

  • {{/if}} {{/block-slot}} {{/popover-menu}} {{/block-slot}} {{/tabular-collection}} {{/block-slot}} {{#block-slot name='empty'}}

    There are no ACLs.

    {{/block-slot}} {{/changeable-set}} {{/block-slot}} {{/app-view}}