summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-27 21:52:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-27 21:52:34 +0000
commit0ac022e91ddfe8946032159473ac71a87daf2b49 (patch)
tree93d64138361bcc1f7d4a3d3a17baa815293659bb /app
parent98caaae883a57afad45bd14af94a004316e38b97 (diff)
downloadredmine-0ac022e91ddfe8946032159473ac71a87daf2b49.tar.gz
redmine-0ac022e91ddfe8946032159473ac71a87daf2b49.zip
The :change_status permission was removed in r1043.
git-svn-id: http://svn.redmine.org/redmine/trunk@13952 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/context_menus_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/context_menus_controller.rb b/app/controllers/context_menus_controller.rb
index 1dc9a2ef2..ce02f6122 100644
--- a/app/controllers/context_menus_controller.rb
+++ b/app/controllers/context_menus_controller.rb
@@ -31,7 +31,7 @@ class ContextMenusController < ApplicationController
@can = {:edit => User.current.allowed_to?(:edit_issues, @projects),
:log_time => (@project && User.current.allowed_to?(:log_time, @project)),
- :update => (User.current.allowed_to?(:edit_issues, @projects) || (User.current.allowed_to?(:change_status, @projects) && !@allowed_statuses.blank?)),
+ :update => User.current.allowed_to?(:edit_issues, @projects),
:move => (@project && User.current.allowed_to?(:move_issues, @project)),
:copy => (@issue && @project.trackers.include?(@issue.tracker) && User.current.allowed_to?(:add_issues, @project)),
:delete => User.current.allowed_to?(:delete_issues, @projects)