summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-09 18:53:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-09 18:53:12 +0000
commit8f40750ad7f7ad512fd816757f072c42fae20e66 (patch)
tree175905e0aaa657f33542ead952f80e6abe68a26e /lib
parentcc684803bac964114319a39d52fd12fc84864a02 (diff)
downloadredmine-8f40750ad7f7ad512fd816757f072c42fae20e66.tar.gz
redmine-8f40750ad7f7ad512fd816757f072c42fae20e66.zip
Adds a link to automatically close completed versions in project settings (#1245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3023 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 16e52619c..ebec9060b 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -31,7 +31,7 @@ Redmine::AccessControl.map do |map|
map.permission :edit_project, {:projects => [:settings, :edit]}, :require => :member
map.permission :select_project_modules, {:projects => :modules}, :require => :member
map.permission :manage_members, {:projects => :settings, :members => [:new, :edit, :destroy, :autocomplete_for_member]}, :require => :member
- map.permission :manage_versions, {:projects => [:settings, :add_version], :versions => [:edit, :destroy]}, :require => :member
+ map.permission :manage_versions, {:projects => [:settings, :add_version], :versions => [:edit, :close_completed, :destroy]}, :require => :member
map.project_module :issue_tracking do |map|
# Issue categories