{{#app-view class=(concat 'token ' (if (and isEnabled (not isAuthorized)) 'edit' 'list')) loading=isLoading authorized=isAuthorized enabled=isEnabled}} {{#block-slot 'notification' as |status type subject|}} {{partial 'dc/acls/tokens/notifications'}} {{/block-slot}} {{#block-slot 'header'}}

Access Controls

{{#if isAuthorized }} {{partial 'dc/acls/nav'}} {{/if}} {{/block-slot}} {{#block-slot 'disabled'}} {{partial 'dc/acls/disabled'}} {{/block-slot}} {{#block-slot 'authorization'}} {{partial 'dc/acls/authorization'}} {{/block-slot}} {{#block-slot 'actions'}} Create {{/block-slot}} {{#block-slot 'content'}} {{#if (gt items.length 0) }}
{{freetext-filter onchange=(action 'filter') value=filter.s placeholder="Search"}}
{{/if}} {{#if (token/is-legacy items)}}

Update. We have upgraded our ACL System to allow the creation of reusable policies that can be applied to tokens. Read more about the changes and how to upgrade legacy tokens in our documentation.

{{/if}} {{#if (gt filtered.length 0)}} {{#tabular-collection items=(sort-by 'CreateTime:desc' filtered) as |item index| }} {{#block-slot 'header'}} Accessor ID Scope Description Policies   {{/block-slot}} {{#block-slot 'row'}} {{truncate item.AccessorID 8 false}} {{if item.Local 'local' 'global' }} {{default item.Description item.Name}} {{#if (token/is-legacy item) }} Legacy tokens have embedded policies. {{ else }} {{#each item.Policies as |item|}} {{item.Name}} {{/each}} {{/if}} {{#if (eq item.AccessorID token.AccessorID)}} Your token {{/if}} {{/block-slot}} {{#block-slot 'actions' as |index change checked|}} {{#confirmation-dialog confirming=false index=index message="Are you sure you want to delete this Token?"}} {{#block-slot 'action' as |confirm|}} {{#action-group index=index onchange=(action change) checked=(if (eq checked index) 'checked')}} {{/action-group}} {{/block-slot}} {{#block-slot 'dialog' as |execute cancel message name|}}

{{#if (eq name 'delete')}} {{message}} {{else if (eq name 'logout')}} Are you sure you want to stop using this ACL token? This will log you out. {{else if (eq name 'use')}} Are you sure you want to use this ACL token? {{/if}}

{{/block-slot}} {{/confirmation-dialog}} {{/block-slot}} {{/tabular-collection}} {{else}}

There are no Tokens.

{{/if}} {{/block-slot}} {{/app-view}}