{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 }} {{#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.scopes.selectedOrg.displayName}} {{page-title (t 'resources.project.title_plural')}} {{page-title @model.displayName}} {{/if}} {{#if this.session.isAuthenticated}} {{#if @model.isGlobal}} {{t 'resources.org.title_plural'}} {{#if (feature-flag 'session-recording')}} {{#if (can 'navigate session-recording' @model collection='session-recordings' ) }} {{t 'resources.session-recording.title_plural'}} {{/if}} {{#if (can 'navigate storage-bucket' @model collection='storage-buckets' ) }} {{t 'resources.storage-bucket.title_plural'}} {{/if}} {{/if}} {{#if (and (can 'navigate worker' @model collection='workers') (feature-flag 'byow') ) }} {{t 'resources.worker.title_plural'}} {{/if}} {{/if}} {{#if @model.isOrg}} {{#if this.session.data.authenticated.isGlobal}} {{t 'resources.org.title_plural'}} {{/if}} {{t 'resources.project.title_plural'}} {{/if}} {{#if @model.isProject}} {{#if this.session.data.authenticated.isGlobal}} {{t 'resources.org.title_plural'}} {{/if}} {{t 'resources.project.title_plural'}} {{! TODO: after scope awareness refactor, update groups and roles to support project scopes }} {{!-- {{t "resources.group.title_plural"}} {{t "resources.role.title_plural"}} --}} {{#if (can 'navigate model' @model collection='sessions')}} {{t 'resources.session.title_plural'}} {{/if}} {{#if (can 'navigate model' @model collection='targets')}} {{t 'resources.target.title_plural'}} {{/if}} {{#if (can 'navigate model' @model collection='host-catalogs')}} {{t 'resources.host-catalog.title_plural'}} {{/if}} {{#if (can 'navigate model' @model collection='credential-stores')}} {{t 'resources.credential-store.title_plural'}} {{/if}} {{/if}} {{! Users are available only for org/global scopes }} {{#unless @model.isProject}} {{#if (can 'navigate model' @model collection='users')}} {{t 'resources.user.title_plural'}} {{/if}} {{/unless}} {{! Groups and roles are available for all scopes }} {{#if (can 'navigate model' @model collection='groups')}} {{t 'resources.group.title_plural'}} {{/if}} {{#if (can 'navigate model' @model collection='roles')}} {{t 'resources.role.title_plural'}} {{/if}} {{! Auth methods are available only for org/global scopes }} {{#unless @model.isProject}} {{#if (can 'navigate model' @model collection='auth-methods')}} {{t 'resources.auth-method.title_plural'}} {{/if}} {{/unless}} {{#if @model.isOrg}} {{#if this.session.data.authenticated.isGlobal}} {{t 'resources.org.messages.settings.title'}} {{/if}} {{/if}} {{#if @model.isProject}} {{t 'resources.project.messages.settings.title'}} {{/if}} {{/if}}
{{outlet}}
{{app-name}} {{t 'titles.documentation'}} {{company-copyright}}