{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

{{#unless this.hideBanner}}
  <Hds::Alert
    @type="inline"
    @color="critical"
    @onDismiss={{fn (mut this.hideBanner) true}}
    data-test-resultant-acl-banner
    as |A|
  >
    <A.Title>{{this.title}}</A.Title>
    <A.Description>
      {{this.message}}
    </A.Description>
    {{#if @isEnterprise}}
      <A.LinkStandalone
        @icon="arrow-right"
        @iconPosition="trailing"
        @text={{concat "Log into " this.ns " namespace"}}
        @route="vault.cluster.logout"
        @query={{this.queryParams}}
        data-test-resultant-acl-reauthenticate
      />
    {{/if}}
  </Hds::Alert>
{{/unless}}