diff --git a/db/fixtures/miq_product_features.yml b/db/fixtures/miq_product_features.yml index 7e5d35bb4195..9d86cf0513d9 100644 --- a/db/fixtures/miq_product_features.yml +++ b/db/fixtures/miq_product_features.yml @@ -130,6 +130,26 @@ :feature_type: view :identifier: infra_topology_view +# Physical Racks +- :name: Physical Racks + :description: Everything under Physical Racks + :feature_type: node + :identifier: physical_rack + :children: + - :name: View + :description: View Physical Rack + :feature_type: view + :identifier: physical_rack_view + :children: + - :name: List + :description: Display Lists of Physical Racks + :feature_type: view + :identifier: physical_rack_show_list + - :name: Show + :description: Display Individual Physical Rack + :feature_type: view + :identifier: physical_rack_show + # MiqRequest - :name: Requests :description: Everything under Requests diff --git a/db/fixtures/miq_user_roles.yml b/db/fixtures/miq_user_roles.yml index 858bd26e19ce..835a55814d9d 100644 --- a/db/fixtures/miq_user_roles.yml +++ b/db/fixtures/miq_user_roles.yml @@ -66,6 +66,7 @@ - miq_request - miq_template - orchestration_stack + - physical_rack - physical_server - physical_infra_topology - planning @@ -133,6 +134,7 @@ - miq_template_tag - miq_template_timeline - physical_infra_topology_view + - physical_rack_view - physical_server_view - policy_log - policy_simulation @@ -296,6 +298,7 @@ - my_settings_default_views - my_settings_time_profiles - my_settings_visuals + - physical_rack - physical_server - physical_infra_topology - physical_server_view @@ -373,6 +376,7 @@ - ems_physical_infra_refresh - ems_physical_infra_tag - ems_physical_infra_view + - physical_rack_view - physical_server_view - physical_infra_topology_view - host_new @@ -477,6 +481,7 @@ - ems_infra_timeline - ems_physical_infra_tag - ems_physical_infra_view + - physical_rack_view - physical_server_timeline - host_show - host_show_list @@ -585,6 +590,7 @@ - miq_template_tag - miq_template_timeline - physical_infra_topology_view + - physical_rack_view - physical_server_view - policy_log - policy_simulation @@ -672,6 +678,7 @@ - miq_template_tag - miq_template_timeline - physical_infra_topology_view + - physical_rack_view - physical_server_view - resource_pool_show - resource_pool_show_list @@ -1178,6 +1185,7 @@ - orchestration_templates_view - persistent_volume_view - physical_infra_topology_view + - physical_rack_view - physical_server_view - planning - policy_log diff --git a/spec/factories/physical_rack.rb b/spec/factories/physical_rack.rb new file mode 100644 index 000000000000..00f100085f40 --- /dev/null +++ b/spec/factories/physical_rack.rb @@ -0,0 +1,3 @@ +FactoryGirl.define do + factory :physical_rack +end