open-nomad/ui/app/templates/components/forbidden-message.hbs

23 lines
716 B
Handlebars

<div data-test-error class="empty-message">
<h3 data-test-error-title class="empty-message-headline">Not Authorized</h3>
<p data-test-error-message class="empty-message-body">
{{#if token.secret}}
Your <LinkTo @route="settings.tokens">ACL token</LinkTo> does not provide the
{{#if permission}}
<code>{{permission}}</code>
{{else}}
required
{{/if}}
permission. Contact your administrator if this is an error.
{{else}}
Provide an <LinkTo @route="settings.tokens">ACL token</LinkTo> with the
{{#if permission}}
<code>{{permission}}</code>
{{else}}
requisite
{{/if}}
permission to view this.
{{/if}}
</p>
</div>