From 43c7b295c97cd5767d91dd561d6e67b3af646fcf Mon Sep 17 00:00:00 2001 From: Harpreet Kataria Date: Wed, 13 Dec 2017 09:59:40 -0500 Subject: [PATCH] Fixed product feature id for "Containers" This was causing Containers Explorer to be available when user's role had any of the other features access under Containers main tab. Due to the same "Containers Explorer" node was missing from User Role edit/details screen. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1510142 --- db/fixtures/miq_product_features.yml | 2 +- db/fixtures/miq_shortcuts.yml | 2 +- db/fixtures/miq_user_roles.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/db/fixtures/miq_product_features.yml b/db/fixtures/miq_product_features.yml index d78b52c4cd9..b282471c656 100644 --- a/db/fixtures/miq_product_features.yml +++ b/db/fixtures/miq_product_features.yml @@ -5063,7 +5063,7 @@ - :name: Containers Explorer :description: Everything under Containers :feature_type: node - :identifier: containers + :identifier: container :children: - :name: Relationships :description: Everything under All Containers Accordion diff --git a/db/fixtures/miq_shortcuts.yml b/db/fixtures/miq_shortcuts.yml index 2625a07d9fa..b66cd6b44fe 100644 --- a/db/fixtures/miq_shortcuts.yml +++ b/db/fixtures/miq_shortcuts.yml @@ -237,7 +237,7 @@ - :name: containers :description: Compute / Containers / Containers :url: /container/show_list - :rbac_feature_name: containers + :rbac_feature_name: container :startup: true - :name: container_nodes :description: Compute / Containers / Container Nodes diff --git a/db/fixtures/miq_user_roles.yml b/db/fixtures/miq_user_roles.yml index 26b5331bff8..ba0d4901b2e 100644 --- a/db/fixtures/miq_user_roles.yml +++ b/db/fixtures/miq_user_roles.yml @@ -46,7 +46,7 @@ - container_service - container_replicator - container_group - - containers + - container - container_node - persistent_volume - container_build @@ -1182,7 +1182,7 @@ - container_service - container_route - container_project - - containers + - container - container_topology - container_dashboard - ems_infra_dashboard