{{#app-view class=(concat 'token ' (if (and isEnabled (not isAuthorized)) 'edit' 'list')) loading=isLoading authorized=isAuthorized enabled=isEnabled}} {{#block-slot name='notification' as |status type subject|}} {{partial 'dc/acls/tokens/notifications'}} {{/block-slot}} {{#block-slot name='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}} {{#changeable-set dispatcher=searchable}} {{#block-slot name='set' as |filtered|}} {{#tabular-collection items=(sort-by 'CreateTime:desc' filtered) as |item index| }} {{#block-slot name='header'}}{{default item.Description item.Name}}
Legacy tokens have embedded rules.
{{ else }} {{#each (append item.Policies item.Roles) as |item|}} {{item.Name}} {{/each}} {{/if}}{{#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}} {{/block-slot}} {{#block-slot name='empty'}}There are no Tokens.
{{/block-slot}} {{/changeable-set}} {{/block-slot}} {{/app-view}}