diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-15 15:08:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-15 15:08:28 +0300 |
commit | 927df95cc4453bdacbc59960df32008b02c4e28a (patch) | |
tree | 24c2af26a0b7a06661bdf077c3d0300684602e39 /app/policies/ci | |
parent | e5731d5194e20deb33725943248c5899e4fdf05d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/ci')
-rw-r--r-- | app/policies/ci/freeze_period_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/ci/freeze_period_policy.rb b/app/policies/ci/freeze_period_policy.rb new file mode 100644 index 00000000000..60e53a7b2f9 --- /dev/null +++ b/app/policies/ci/freeze_period_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module Ci + class FreezePeriodPolicy < BasePolicy + delegate { @subject.resource_parent } + end +end |