summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-28 12:07:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-28 12:07:05 +0000
commit04e181b8b05d00a95d49aea0435f8542914b0fbc (patch)
treeebd9c00a13a4655b33df9a0d94bbae0272116954 /lib
parentb4be8849c0de81841c458c0f059787a9cc9bc022 (diff)
downloadredmine-04e181b8b05d00a95d49aea0435f8542914b0fbc.tar.gz
redmine-04e181b8b05d00a95d49aea0435f8542914b0fbc.zip
Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2638 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 c8d64b8c3..5ac32b2fe 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -22,7 +22,7 @@ Redmine::AccessControl.map do |map|
map.permission :search_project, {:search => :index}, :public => true
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]}, :require => :member
+ map.permission :manage_members, {:projects => :settings, :members => [:new, :edit, :destroy, :autocomplete_for_member_login]}, :require => :member
map.permission :manage_versions, {:projects => [:settings, :add_version], :versions => [:edit, :destroy]}, :require => :member
map.project_module :issue_tracking do |map|