ADD builds authorization
This commit is contained in:
parent
217dfc03b2
commit
9b1f95bf08
|
@ -2,6 +2,8 @@ class Ci::BuildsController < Ci::BaseController
|
||||||
include RepositoriesHelper
|
include RepositoriesHelper
|
||||||
include Devopsable
|
include Devopsable
|
||||||
|
|
||||||
|
before_action :load_project
|
||||||
|
before_action :ci_authorize!
|
||||||
before_action :load_repo
|
before_action :load_repo
|
||||||
before_action :find_cloud_account, except: [:index, :show]
|
before_action :find_cloud_account, except: [:index, :show]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue