Skip to content

Commit

Permalink
[35328] Allow more default overrides (#9262)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed May 12, 2021
1 parent 064a05f commit 1ac2de1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/mail_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ def options=(value)
options[:allow_override] << :project unless options[:issue].has_key?(:project)
# Status overridable by default
options[:allow_override] << :status unless options[:issue].has_key?(:status)
# Version overridable by default
options[:allow_override] << :version unless options[:issue].has_key?(:version)
# Type overridable by default
options[:allow_override] << :type unless options[:issue].has_key?(:type)
# Priority overridable by default
options[:allow_override] << :priority unless options[:issue].has_key?(:priority)
options[:no_permission_check] = options[:no_permission_check].to_s == '1'
Expand Down

0 comments on commit 1ac2de1

Please sign in to comment.