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'
  • Loading branch information
mzazrivec authored Mar 20, 2019
2 parents ae7d828 + 7090474 commit 8b2f589
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 @@ -1200,7 +1200,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 8b2f589

Please sign in to comment.