Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_editor_helper.rb « ci « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3f48b2687b945e2d06074475c2e546ced6aba262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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