gitlab-org--gitlab-foss/app/policies/merge_request_policy.rb

8 lines
145 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2016-08-16 14:32:08 -04:00
class MergeRequestPolicy < IssuablePolicy
rule { locked }.policy do
prevent :reopen_merge_request
end
2016-08-16 14:32:08 -04:00
end