summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-08 10:20:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-08 10:20:53 +0000
commit01f673be08be68247b72a8954379b3f0c7a9a9d3 (patch)
tree866383ef7f9e0e2b9fe73aee4f6dea417602d692 /lib
parent92cdae49199e6e8cc26408d0bbeea1466e7189c6 (diff)
downloadredmine-01f673be08be68247b72a8954379b3f0c7a9a9d3.tar.gz
redmine-01f673be08be68247b72a8954379b3f0c7a9a9d3.zip
Removed :move_issues permission (#18855).
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 298e153fe..23db652b7 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -109,7 +109,6 @@ Redmine::AccessControl.map do |map|
map.permission :edit_own_issue_notes, {:journals => :edit}, :require => :loggedin
map.permission :view_private_notes, {}, :read => true, :require => :member
map.permission :set_notes_private, {}, :require => :member
- map.permission :move_issues, {:issues => [:bulk_edit, :bulk_update]}, :require => :loggedin
map.permission :delete_issues, {:issues => :destroy}, :require => :member
# Queries
map.permission :manage_public_queries, {:queries => [:new, :create, :edit, :update, :destroy]}, :require => :member