summaryrefslogtreecommitdiff
path: root/app/controllers/builds_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/builds_controller.rb')
-rw-r--r--app/controllers/builds_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/builds_controller.rb b/app/controllers/builds_controller.rb
index bb485c0..a1cb017 100644
--- a/app/controllers/builds_controller.rb
+++ b/app/controllers/builds_controller.rb
@@ -2,7 +2,8 @@ class BuildsController < ApplicationController
before_filter :authenticate_user!, except: [:status]
before_filter :project
before_filter :authorize_access_project!, except: [:status]
- before_filter :authorize_manage_project!, except: [:status, :show]
+ before_filter :authorize_manage_project!, except: [:status, :show, :retry, :cancel]
+ before_filter :authorize_project_developer!, only: [:retry, :cancel]
before_filter :build, except: [:show]
def show