{{#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'}}
Update. We've upgraded our ACL system by allowing you to create reusable Policies, which you can then apply to Tokens. Read more about the change and learn how to upgrade your 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'}}{{#if (eq name 'delete')}} {{message}} {{#if (eq item.AccessorID token.AccessorID)}} Warning: This is the token you are currently using! {{/if}} {{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}}