]> source.dussan.org Git - redmine.git/commitdiff
The :change_status permission was removed in r1043.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 27 Jan 2015 21:52:34 +0000 (21:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 27 Jan 2015 21:52:34 +0000 (21:52 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13952 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/context_menus_controller.rb

index 1dc9a2ef2c4e39db07093c08b06039ca8eca6e3b..ce02f612233039f6e69ebfc63bd917e6a0040137 100644 (file)
@@ -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)