diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-07 10:26:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-07 10:26:36 +0000 |
commit | a4f167ec1a6d8cb3707716e73378e98e870d466f (patch) | |
tree | 0a7a6317e9c4488f3bf0d121c7ee844343040c93 /lib/redmine.rb | |
parent | e29b4ba26ad18a1ab871effe0fa5e11c2a2b189e (diff) | |
download | redmine-a4f167ec1a6d8cb3707716e73378e98e870d466f.tar.gz redmine-a4f167ec1a6d8cb3707716e73378e98e870d466f.zip |
Don't render memberships forms, use #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16149 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 4ad182046..e3ff60fd1 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -83,7 +83,7 @@ Redmine::AccessControl.map do |map| map.permission :close_project, {:projects => [:close, :reopen]}, :require => :member, :read => true map.permission :select_project_modules, {:projects => :modules}, :require => :member map.permission :view_members, {:members => [:index, :show]}, :public => true, :read => true - map.permission :manage_members, {:projects => :settings, :members => [:index, :show, :new, :create, :update, :destroy, :autocomplete]}, :require => :member + map.permission :manage_members, {:projects => :settings, :members => [:index, :show, :new, :create, :edit, :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 |