summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-08-06 15:47:27 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-08-06 15:47:27 +0000
commit041bca6ac90d0d53c6e29a729e84b66b4d87b040 (patch)
tree72b7fd97136fe78a610057280a8574d068350e2d /lib/redmine.rb
parente4af6e77a7347f02491ca95f0a5eb32e40e271ef (diff)
downloadredmine-041bca6ac90d0d53c6e29a729e84b66b4d87b040.tar.gz
redmine-041bca6ac90d0d53c6e29a729e84b66b4d87b040.zip
Refactor: start to split IssuesController#move into two separate actions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3918 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index b95166e76..4196a5d7a 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -69,7 +69,7 @@ Redmine::AccessControl.map do |map|
map.permission :add_issue_notes, {:issues => [:edit, :update, :reply]}
map.permission :edit_issue_notes, {:journals => :edit}, :require => :loggedin
map.permission :edit_own_issue_notes, {:journals => :edit}, :require => :loggedin
- map.permission :move_issues, {:issues => :move}, :require => :loggedin
+ map.permission :move_issues, {:issues => [:move, :perform_move]}, :require => :loggedin
map.permission :delete_issues, {:issues => :destroy}, :require => :member
# Queries
map.permission :manage_public_queries, {:queries => [:new, :edit, :destroy]}, :require => :member