构建流水线,项目开发者权限
This commit is contained in:
parent
eb5c2a6b8b
commit
656c446471
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue