diff --git a/app/presenters/tree_builder_ops_rbac_features.rb b/app/presenters/tree_builder_ops_rbac_features.rb index dbf1904b453..a42b6c67978 100644 --- a/app/presenters/tree_builder_ops_rbac_features.rb +++ b/app/presenters/tree_builder_ops_rbac_features.rb @@ -19,7 +19,9 @@ def initialize(name, sandbox, build, **params) private def x_get_tree_roots(count_only = false, _options) - top_nodes = Menu::Manager.items.select { |section| Vmdb::PermissionStores.instance.can?(section.id) } + top_nodes = Menu::Manager.items.select do |section| + Vmdb::PermissionStores.instance.can?(section.id) && !section.kind_of?(Menu::Item) + end top_nodes += %w[all_vm_rules api_exclusive sui ops_explorer].collect do |additional_feature| MiqProductFeature.obj_features[additional_feature] &&