ADD 更改工作流的权限

This commit is contained in:
Jasder
2020-10-16 11:57:20 +08:00
parent 6df01dead1
commit 5156450eac
6 changed files with 6 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ class Ci::BuildsController < Ci::BaseController
include RepositoriesHelper
before_action :load_project
before_action :authorize_owner_project!
before_action :authorize_owner!, only: [:restart, :stop]
before_action :load_repo
before_action :find_cloud_account, except: [:index, :show]