{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

{{#let this.model.roleAncestry.type this.model.roleAncestry.path_to_role as |roleType path_to_role|}}
  <Page::Roles
    @roles={{this.model.roles}}
    @promptConfig={{false}}
    @backendModel={{this.model.backendModel}}
    @breadcrumbs={{this.breadcrumbs}}
    @pageFilter={{this.pageFilter}}
    @currentRouteParams={{array this.model.backendModel.id roleType path_to_role}}
  />
{{/let}}