Skip to content

Commit 97340d5

Browse files
authored
Merge pull request #6374 from d-m-u/fixing_user_group_being_wrong_in_tree
Force user group reload after changing permissions so tree is correct
2 parents c3c7127 + b54fe1d commit 97340d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controllers/ops_controller/ops_rbac.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,7 @@ def rbac_role_set_record_vars(role)
13861386
def populate_role_features(role)
13871387
role.miq_product_features =
13881388
MiqProductFeature.find_all_by_identifier(rbac_compact_features(@edit[:new][:features]))
1389+
User.current_user.reload
13891390
end
13901391

13911392
# Validate some of the role fields

0 commit comments

Comments
 (0)