]> source.dussan.org Git - redmine.git/commit
Removed :move_issues permission (#18855).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Feb 2015 10:20:53 +0000 (10:20 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Feb 2015 10:20:53 +0000 (10:20 +0000)
commit01f673be08be68247b72a8954379b3f0c7a9a9d3
tree866383ef7f9e0e2b9fe73aee4f6dea417602d692
parent92cdae49199e6e8cc26408d0bbeea1466e7189c6
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
app/controllers/context_menus_controller.rb
app/controllers/issues_controller.rb
app/models/issue.rb
app/views/context_menus/issues.html.erb
db/migrate/20150208105930_replace_move_issues_permission.rb [new file with mode: 0644]
lib/redmine.rb
test/fixtures/roles.yml
test/unit/issue_test.rb