Skip to content

Commit

Permalink
Merge pull request #5354 from hstastna/Cannot_create_group_already_exist
Browse files Browse the repository at this point in the history
Fix creating a group after validation message 'already exists'

(cherry picked from commit 8b2f589)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1712440
  • Loading branch information
mzazrivec authored and simaishi committed May 21, 2019
1 parent 303c1cb commit f3a5226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ops_controller/ops_rbac.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ def rbac_group_set_record_vars(group)
@edit[:new][:filters].clear
else
exp_remove_tokens(@edit[:new][:filter_expression])
@edit[:new][:filter_expression] = nil
@edit[:new][:filter_expression] = {}
end

rbac_group_set_filters(group) # Go set the filters for the group
Expand Down

0 comments on commit f3a5226

Please sign in to comment.