From 40e3b7bac7960ca47cbbac13f954237da20a6333 Mon Sep 17 00:00:00 2001 From: Sandeep Reddy Date: Tue, 6 Feb 2024 16:40:02 +0530 Subject: [PATCH] update Cloud and Infra resource pool --- db/fixtures/miq_product_features.yml | 82 +++++++++++++++++++++------- db/fixtures/miq_shortcuts.yml | 13 +++-- 2 files changed, 71 insertions(+), 24 deletions(-) diff --git a/db/fixtures/miq_product_features.yml b/db/fixtures/miq_product_features.yml index 463a8f6dc55..86d1c51f3b6 100644 --- a/db/fixtures/miq_product_features.yml +++ b/db/fixtures/miq_product_features.yml @@ -1402,47 +1402,89 @@ :feature_type: admin :identifier: host_provide -# Resource Pools -- :name: Resource Pools - :description: Access Everything under Resource Pools +# Cloud Resource Pools +- :name: Cloud Resource Pools + :description: Access Everything under Cloud Resource Pools :feature_type: node - :identifier: resource_pool + :identifier: resource_pool_cloud :children: - :name: View - :description: Display Lists of Resource Pools + :description: Display Lists of Cloud Resource Pools :feature_type: view - :identifier: resource_pool_view + :identifier: resource_pool_cloud_view :children: - :name: List - :description: Display Lists of Resource Pools + :description: Display Lists of Cloud Resource Pools :feature_type: view - :identifier: resource_pool_show_list + :identifier: resource_pool_cloud_show_list - :name: Show - :description: Display Individual Resource Pools + :description: Display Individual Cloud Resource Pools :feature_type: view - :identifier: resource_pool_show + :identifier: resource_pool_cloud_show - :name: Operate - :description: Perform Operations on Resource Pools + :description: Perform Operations on Cloud Resource Pools :feature_type: control - :identifier: resource_pool_control + :identifier: resource_pool_cloud_control :children: - :name: Edit Tags - :description: Edit Tags of Resource Pools + :description: Edit Tags of Cloud Resource Pools :feature_type: control - :identifier: resource_pool_tag + :identifier: resource_pool_cloud_tag - :name: Manage Policies - :description: Manage Policies of Resource Pools + :description: Manage Policies of Cloud Resource Pools :feature_type: control - :identifier: resource_pool_protect + :identifier: resource_pool_cloud_protect - :name: Modify - :description: Modify Resource Pools + :description: Modify Cloud Resource Pools :feature_type: admin - :identifier: resource_pool_admin + :identifier: resource_pool_cloud_admin :children: - :name: Remove - :description: Remove Resource Pools + :description: Remove Cloud Resource Pools :feature_type: admin - :identifier: resource_pool_delete + :identifier: resource_pool_cloud_delete + +# Infrastructure Resource Pools +- :name: Infrastructure Resource Pools + :description: Access Everything under Infrastructure Resource Pools + :feature_type: node + :identifier: resource_pool_infra + :children: + - :name: View + :description: Display Lists of Infrastructure Resource Pools + :feature_type: view + :identifier: resource_pool_infra_view + :children: + - :name: List + :description: Display Lists of Infrastructure Resource Pools + :feature_type: view + :identifier: resource_pool_infra_show_list + - :name: Show + :description: Display Individual Infrastructure Resource Pools + :feature_type: view + :identifier: resource_pool_infra_show + - :name: Operate + :description: Perform Operations on Infrastructure Resource Pools + :feature_type: control + :identifier: resource_pool_infra_control + :children: + - :name: Edit Tags + :description: Edit Tags of Infrastructure Resource Pools + :feature_type: control + :identifier: resource_pool_infra_tag + - :name: Manage Policies + :description: Manage Policies of Infrastructure Resource Pools + :feature_type: control + :identifier: resource_pool_infra_protect + - :name: Modify + :description: Modify Infrastructure Resource Pools + :feature_type: admin + :identifier: resource_pool_infra_admin + :children: + - :name: Remove + :description: Remove Infrastructure Resource Pools + :feature_type: admin + :identifier: resource_pool_infra_delete # Datastores - :name: Datastores diff --git a/db/fixtures/miq_shortcuts.yml b/db/fixtures/miq_shortcuts.yml index c5826ce2f99..df2f0dc6194 100644 --- a/db/fixtures/miq_shortcuts.yml +++ b/db/fixtures/miq_shortcuts.yml @@ -154,10 +154,15 @@ :url: /vm_infra/explorer?accordion=templates_filter :rbac_feature_name: templates_filter_accord :startup: true -- :name: resource_pools - :description: Compute / Infrastructure / Resource Pools - :url: /resource_pool/show_list - :rbac_feature_name: resource_pool_show_list +- :name: resource_pool_cloud + :description: Compute / Clouds / Cloud Resource Pools + :url: /resource_pool_cloud/show_list + :rbac_feature_name: resource_pool_cloud_show_list + :startup: true +- :name: resource_pool_infra + :description: Compute / Infrastructure / Infrastructure Resource Pools + :url: /resource_pool_infra/show_list + :rbac_feature_name: resource_pool_infra_show_list :startup: true - :name: storage :description: Compute / Infrastructure / Datastores