diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-10 10:31:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-10 10:31:12 +0000 |
commit | 856ef810b4854c5524843f7f4f69157b6223bfc7 (patch) | |
tree | 7a70dadf59232d6f1ba565033b9f20ef937527be /lib/redmine.rb | |
parent | 7303cc416c4e60658b6ea9af7d620c3f6c24066b (diff) | |
download | redmine-856ef810b4854c5524843f7f4f69157b6223bfc7.tar.gz redmine-856ef810b4854c5524843f7f4f69157b6223bfc7.zip |
Bulk watch/unwatch issues from the context menu (#7159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11339 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 ad248c14f..63fbdeb23 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -127,7 +127,7 @@ Redmine::AccessControl.map do |map| map.permission :save_queries, {:queries => [:new, :create, :edit, :update, :destroy]}, :require => :loggedin # Watchers map.permission :view_issue_watchers, {}, :read => true - map.permission :add_issue_watchers, {:watchers => :new} + map.permission :add_issue_watchers, {:watchers => [:new, :create, :append, :autocomplete_for_user]} map.permission :delete_issue_watchers, {:watchers => :destroy} end |