github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/components/forbidden-message.hbs (about)

     1  <div data-test-error class="empty-message">
     2    <h3 data-test-error-title class="empty-message-headline">Not Authorized</h3>
     3    <p data-test-error-message class="empty-message-body">
     4      {{#if this.token.secret}}
     5        Your <LinkTo @route="settings.tokens">ACL token</LinkTo> does not provide the
     6        {{#if this.permission}}
     7          <code>{{this.permission}}</code>
     8        {{else}}
     9          required
    10        {{/if}}
    11        permission. Contact your administrator if this is an error.
    12      {{else}}
    13        Provide an <LinkTo @route="settings.tokens">ACL token</LinkTo> with the
    14        {{#if this.permission}}
    15        <code>{{this.permission}}</code>
    16        {{else}}
    17          requisite
    18        {{/if}}
    19        permission to view this.
    20      {{/if}}
    21    </p>
    22    <p class="empty-message-body">
    23      If you have an ACL token configured for the CLI, authenticate with:
    24      <div class='terminal-container'>
    25        <pre class='terminal'><span class='prompt'>$</span> nomad ui -authenticate</pre>
    26      </div>
    27    </p>
    28  </div>