Skip to content

Commit

Permalink
Fixed RBAC product feature check
Browse files Browse the repository at this point in the history
  • Loading branch information
h-kataria committed Dec 27, 2020
1 parent 26bee65 commit a3f065f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/menu/default_menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def object_storage_menu_section

def control_menu_section
Menu::Section.new(:con, N_("Control"), 'carbon--IbmSecurity', [
Menu::Item.new('miq_policy_set', N_('Policy Profiles'), 'miq_policy_set', {:feature => 'miq_policy_set/show_list'}, '/miq_policy_set/show_list'),
Menu::Item.new('miq_policy_set', N_('Policy Profiles'), 'miq_policy_set', {:feature => 'miq_policy_set_show_list'}, '/miq_policy_set/show_list'),
Menu::Item.new('miq_policy', N_('Policies'), 'miq_policy', {:feature => 'miq_policy', :any => true}, '/miq_policy/explorer'),
Menu::Item.new('miq_event', N_('Events'), 'miq_event', {:feature => 'miq_event', :any => true}, '/miq_event/explorer'),
Menu::Item.new('condition', N_('Conditions'), 'condition', {:feature => 'condition', :any => true}, '/condition/explorer'),
Expand Down

0 comments on commit a3f065f

Please sign in to comment.