构建流水线,项目开发者权限

This commit is contained in:
xxq250 2024-05-22 14:45:53 +08:00
parent eb5c2a6b8b
commit 656c446471
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class Api::V1::Projects::PipelinesController < Api::V1::BaseController
before_action :require_manager_above
before_action :require_operate_above
def index
@pipelines = Action::Pipeline.where(project_id: @project.id).order(updated_at: :desc)