debian-mirror-gitlab/app/policies/merge_request_policy.rb
2019-07-07 11:18:12 +05:30

7 lines
145 B
Ruby

# frozen_string_literal: true
class MergeRequestPolicy < IssuablePolicy
rule { locked }.policy do
prevent :reopen_merge_request
end
end