mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
构建流水线,项目开发者权限
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
class Api::V1::Projects::PipelinesController < Api::V1::BaseController
|
class Api::V1::Projects::PipelinesController < Api::V1::BaseController
|
||||||
before_action :require_manager_above
|
before_action :require_operate_above
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@pipelines = Action::Pipeline.where(project_id: @project.id).order(updated_at: :desc)
|
@pipelines = Action::Pipeline.where(project_id: @project.id).order(updated_at: :desc)
|
||||||
|
|||||||
Reference in New Issue
Block a user