summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-03 01:13:15 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-06 11:59:49 -0500
commit8b3ed9c35513a8d8ee576ffdb69630a08c53875b (patch)
tree06b7bf937e06c0388867db5cc0da3b4b8555a5e7 /app/controllers
parent4ac907ee77784006b32a6c918792d3a82a0bb5c8 (diff)
downloadgitlab-ce-8b3ed9c35513a8d8ee576ffdb69630a08c53875b.tar.gz
add :set_priorities to :authorize_admin_labels!
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb
index ec8e1497d89..0ca675623e5 100644
--- a/app/controllers/projects/labels_controller.rb
+++ b/app/controllers/projects/labels_controller.rb
@@ -5,7 +5,7 @@ class Projects::LabelsController < Projects::ApplicationController
before_action :label, only: [:edit, :update, :destroy]
before_action :authorize_read_label!
before_action :authorize_admin_labels!, only: [
- :new, :create, :edit, :update, :generate, :destroy, :remove_priority
+ :new, :create, :edit, :update, :generate, :destroy, :remove_priority, :set_priorities
]
respond_to :js, :html