Skip to content

Commit

Permalink
Merge pull request #22879 from Guddetisandeep/resource_pool
Browse files Browse the repository at this point in the history
Update Resource Pool Identifiers and UI for Cloud and Infrastructure Categorization
  • Loading branch information
agrare authored Aug 22, 2024
2 parents 0e0a51c + 40e3b7b commit a447b9f
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 24 deletions.
82 changes: 62 additions & 20 deletions db/fixtures/miq_product_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 9 additions & 4 deletions db/fixtures/miq_shortcuts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a447b9f

Please sign in to comment.