Skip to content

Commit

Permalink
Fix Manage policies button for Container Images
Browse files Browse the repository at this point in the history
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1530259

Add missing assign_policies method calling to button method to
make managing policies work for Container Images, Replicators etc.
  • Loading branch information
Hilda Stastna committed Jun 26, 2018
1 parent eb527c8 commit 007ab31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/ems_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ def button
case params[:pressed]
when "#{display_s}_tag"
tag(model_class)
when "#{display_s}_protect"
assign_policies(model_class)
end
end

Expand Down

0 comments on commit 007ab31

Please sign in to comment.