ADD builds authorization

This commit is contained in:
Jasder 2020-09-10 11:52:54 +08:00
parent 217dfc03b2
commit 9b1f95bf08
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ class Ci::BuildsController < Ci::BaseController
include RepositoriesHelper
include Devopsable
before_action :load_project
before_action :ci_authorize!
before_action :load_repo
before_action :find_cloud_account, except: [:index, :show]