2021-01-29 00:20:46 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Projects::Ci::PipelineEditorController < Projects::ApplicationController
|
|
|
|
before_action :check_can_collaborate!
|
2023-04-23 21:23:45 +05:30
|
|
|
before_action do
|
|
|
|
push_frontend_feature_flag(:ci_job_assistant_drawer, @project)
|
2023-07-09 08:55:56 +05:30
|
|
|
push_frontend_feature_flag(:ai_ci_config_generator, @project)
|
2023-04-23 21:23:45 +05:30
|
|
|
end
|
2021-01-29 00:20:46 +05:30
|
|
|
|
2023-05-27 22:25:52 +05:30
|
|
|
feature_category :pipeline_composition
|
2021-01-29 00:20:46 +05:30
|
|
|
|
2022-01-26 12:08:38 +05:30
|
|
|
urgency :low, [:show]
|
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
def show
|
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def check_can_collaborate!
|
|
|
|
render_404 unless can_collaborate_with_project?(@project)
|
|
|
|
end
|
|
|
|
end
|