summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-05 16:35:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-05 16:35:27 +0000
commit78bd24c6f738ea946622bfab5b6ea8a2040f5bde (patch)
treed170a86a5fe88326435223b19b5670fe2c5df439 /lib
parent229b2f8d2af251e1bce0fa11946c41095c19f834 (diff)
downloadredmine-78bd24c6f738ea946622bfab5b6ea8a2040f5bde.tar.gz
redmine-78bd24c6f738ea946622bfab5b6ea8a2040f5bde.zip
Resourcified project memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8789 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 6cb88a9bc..2a55a5ddb 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -52,7 +52,7 @@ Redmine::AccessControl.map do |map|
map.permission :add_project, {:projects => [:new, :create]}, :require => :loggedin
map.permission :edit_project, {:projects => [:settings, :edit, :update]}, :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_members, {:projects => :settings, :members => [:create, :update, :destroy, :autocomplete]}, :require => :member
map.permission :manage_versions, {:projects => :settings, :versions => [:new, :create, :edit, :update, :close_completed, :destroy]}, :require => :member
map.permission :add_subprojects, {:projects => [:new, :create]}, :require => :member