diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-06 09:47:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-06 09:47:10 +0000 |
commit | c5665276b7a465f29230341f8800af4f77b3c141 (patch) | |
tree | 63789c1cb348d3a95bfe3a11dd4852809191202e /lib/redmine.rb | |
parent | 942651ecdfd860b9da68254b2a7d0919dc8151d2 (diff) | |
download | redmine-c5665276b7a465f29230341f8800af4f77b3c141.tar.gz redmine-c5665276b7a465f29230341f8800af4f77b3c141.zip |
REST API for project memberships (#7420).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index 2a55a5ddb..408f1be82 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 => [:create, :update, :destroy, :autocomplete]}, :require => :member + map.permission :manage_members, {:projects => :settings, :members => [:index, :show, :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 |