From a49ce99509a172b68e10aaa87d23751873018f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Hal=C3=A1sz?= Date: Wed, 14 Mar 2018 16:45:01 +0100 Subject: [PATCH] Respect RBAC rules for physical server quadicon settings Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1555400 --- app/views/configuration/_ui_1.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/configuration/_ui_1.html.haml b/app/views/configuration/_ui_1.html.haml index 99e5a0e4963..1dcc543e7e5 100644 --- a/app/views/configuration/_ui_1.html.haml +++ b/app/views/configuration/_ui_1.html.haml @@ -20,7 +20,7 @@ [role_allows?(:feature => "host_show_list"), _("Host"), "host"], [role_allows?(:feature => "storage_show_list"), _("Datastores"), "storage"], [true, _("VM"), "vm"], - [true, _("Physical Server"), "physical_server"], + [role_allows?(:feature => "physical_server_show_list"), _("Physical Server"), "physical_server"], [true, _("Template"), "miq_template"]].each do |icons_checkbox| - if icons_checkbox[0] .form-group