Chapter 4. Configuring template RBAC and display logic


Template definitions in the YAML file control where templates appear in the self-service automation portal and how to manage permissions.

Note

Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

4.1. Role-based access control (RBAC)

The template type determines where you must configure user permissions.

4.2. Backstage software template display logic (spec.type)

The spec.type value in the template YAML determines which portal page displays the template.

  • No spec.type defined: The template appears on the Ansible Automation Platform templates page for all users.
  • spec.type: execution-environment: The template appears only on the EE definition files page.

4.3. Example: Auto-generated template

The following YAML example uses the spec.type field to restrict the template view to the EE definition files page.

apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
  name: ansible-execution-environment-template
  title: EE template
  description: Ansible Execution Environment Template
  tags:
    - ansible
    - execution-environment
    # ...
spec:
  type: execution-environment  # Restricts the template view to the Execution Environment page.
  parameters:
    # ...
Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る