No need to authorize_update_build! if 'trace' requested (as same as 'raw')
This commit is contained in:
parent
efc4e8dda9
commit
68aae3ab9e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
class Projects::BuildsController < Projects::ApplicationController
|
||||
before_action :build, except: [:index, :cancel_all]
|
||||
before_action :authorize_read_build!, except: [:cancel, :cancel_all, :retry, :play]
|
||||
before_action :authorize_update_build!, except: [:index, :show, :status, :raw]
|
||||
before_action :authorize_update_build!, except: [:index, :show, :status, :raw, :trace]
|
||||
layout 'project'
|
||||
|
||||
def index
|
||||
|
|
Loading…
Reference in a new issue