Skip to content

Commit

Permalink
Show additional features in features tree.
Browse files Browse the repository at this point in the history
Changes to show features in Features tree that do not show up on Menus in Classic UI. Follow up PR for ManageIQ/manageiq#16021
  • Loading branch information
h-kataria committed Sep 25, 2017
1 parent eac23c2 commit c046790
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/presenters/tree_builder_ops_rbac_features.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def x_get_tree_roots(count_only = false, _options)
section
end

top_nodes << MiqProductFeature.obj_features["all_vm_rules"][:feature]
%w(all_vm_rules api_exclusive).each do |additional_feature|
top_nodes << MiqProductFeature.obj_features[additional_feature][:feature]
end

count_only_or_objects(count_only, top_nodes)
end
Expand Down

0 comments on commit c046790

Please sign in to comment.