{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 }} {{#if @model.isOrg}} {{page-title (t 'resources.org.title_plural')}} {{page-title @model.displayName}} {{/if}} {{#if @model.isProject}} {{page-title (t 'resources.org.title_plural')}} {{page-title this.scope.org.displayName}} {{page-title (t 'resources.project.title_plural')}} {{page-title @model.displayName}} {{/if}} {{#if @model.isGlobal}} {{t 'titles.scope-level' scope=(t 'titles.global')}} {{#if (can 'navigate scope' @model collection='session-recordings')}} {{/if}} {{#if (can 'navigate scope' @model collection='storage-buckets')}} {{/if}} {{#if (can 'navigate scope' @model collection='policies')}} {{/if}} {{#if (can 'navigate scope' @model collection='aliases')}} {{/if}} {{#if (and (can 'navigate worker' @model collection='workers') (feature-flag 'byow') ) }} {{/if}} {{t 'titles.scope-iam' scope=(t 'titles.global')}} {{/if}} {{#if @model.isOrg}} {{#if this.session.data.authenticated.isGlobal}} {{/if}} {{t 'titles.scope-level' scope=(t 'resources.org.title') }} {{#if (can 'navigate scope' @model collection='policies')}} {{/if}} {{t 'titles.scope-iam' scope=(t 'resources.org.title') }} {{/if}} {{#if @model.isProject}} {{t 'titles.project-actions'}} {{#if (can 'navigate model' @model collection='targets')}} {{/if}} {{#if (can 'navigate model' @model collection='host-catalogs')}} {{/if}} {{#if (can 'navigate model' @model collection='credential-stores')}} {{/if}} {{#if (can 'navigate model' @model collection='sessions')}} {{/if}} {{t 'titles.scope-iam' scope=(t 'resources.project.title') }} {{/if}} {{! Users are available only for org/global scopes }} {{#unless @model.isProject}} {{#if (can 'navigate model' @model collection='users')}} {{/if}} {{/unless}} {{! Groups and roles are available for all scopes }} {{#if (can 'navigate model' @model collection='groups')}} {{/if}} {{#if (can 'navigate model' @model collection='roles')}} {{/if}} {{! Auth methods are available only for org/global scopes }} {{#unless @model.isProject}} {{#if (can 'navigate model' @model collection='auth-methods')}} {{/if}} {{/unless}} {{#if (and @model.isGlobal (feature-flag 'ssh-session-recording'))}} {{#if this.session.data.authenticated.isGlobal}} {{t 'titles.settings'}} {{/if}} {{/if}} {{#if @model.isOrg}} {{#if this.session.data.authenticated.isGlobal}} {{t 'titles.settings'}} {{/if}} {{/if}} {{#if @model.isProject}} {{t 'titles.settings'}} {{/if}} {{outlet}}