diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-24 16:18:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-24 16:18:15 +0000 |
commit | 62c83bdd2e1b06fcd873ba6d638c0bf59e390958 (patch) | |
tree | cfff2b493b317d0b870ce1499725e008f1b85ff1 /lib/redmine.rb | |
parent | 24fde6f1096074cc596a3fbab0165f682a554e82 (diff) | |
download | redmine-62c83bdd2e1b06fcd873ba6d638c0bf59e390958.tar.gz redmine-62c83bdd2e1b06fcd873ba6d638c0bf59e390958.zip |
Adds a 'Add subprojects' permission.
* 'Add project' permission will let user create a root project
* 'Add subprojects' permission will let project members create subprojects
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3238 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 50d090c4d..ecf9abc1c 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -32,6 +32,7 @@ Redmine::AccessControl.map do |map| 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, :close_completed, :destroy]}, :require => :member + map.permission :add_subprojects, {:projects => :add}, :require => :member map.project_module :issue_tracking do |map| # Issue categories |