Skip to content

Commit

Permalink
Merge pull request #6374 from d-m-u/fixing_user_group_being_wrong_in_…
Browse files Browse the repository at this point in the history
…tree

Force user group reload after changing permissions so tree is correct

(cherry picked from commit 97340d5)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1770938
  • Loading branch information
mzazrivec authored and simaishi committed Nov 11, 2019
1 parent eaa3bad commit 39083b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/ops_controller/ops_rbac.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,7 @@ def rbac_role_set_record_vars(role)
def populate_role_features(role)
role.miq_product_features =
MiqProductFeature.find_all_by_identifier(rbac_compact_features(@edit[:new][:features]))
User.current_user.reload
end

# Validate some of the role fields
Expand Down

0 comments on commit 39083b0

Please sign in to comment.