diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-08 12:07:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-08 12:07:00 +0000 |
commit | c3c7d9a4d27b9accac73d55652302f6781371380 (patch) | |
tree | 284fb0eed8f32d47126880249ea5c202874b47fd /lib/redmine.rb | |
parent | 01f673be08be68247b72a8954379b3f0c7a9a9d3 (diff) | |
download | redmine-c3c7d9a4d27b9accac73d55652302f6781371380.tar.gz redmine-c3c7d9a4d27b9accac73d55652302f6781371380.zip |
Adds a :copy_issues permission (#18855).
When copy is allowed, target projects are those on which the user has the :add_issues permission.
git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index 23db652b7..fc05a142d 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -100,6 +100,7 @@ Redmine::AccessControl.map do |map| :read => true map.permission :add_issues, {:issues => [:new, :create, :update_form], :attachments => :upload} map.permission :edit_issues, {:issues => [:edit, :update, :bulk_edit, :bulk_update, :update_form], :journals => [:new], :attachments => :upload} + map.permission :copy_issues, {:issues => [:new, :create, :bulk_edit, :bulk_update, :update_form], :attachments => :upload} map.permission :manage_issue_relations, {:issue_relations => [:index, :show, :create, :destroy]} map.permission :manage_subtasks, {} map.permission :set_issues_private, {} |