{{#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 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'}}{{#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}}