debian-mirror-gitlab/app/helpers/ci/pipeline_editor_helper.rb
2021-01-29 00:20:46 +05:30

12 lines
284 B
Ruby

# frozen_string_literal: true
module Ci
module PipelineEditorHelper
include ChecksCollaboration
def can_view_pipeline_editor?(project)
can_collaborate_with_project?(project) &&
Gitlab::Ci::Features.ci_pipeline_editor_page_enabled?(project)
end
end
end