Add a permission to remove issue watchers (#2450).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2977 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-10-25 12:11:53 +00:00
parent 6fedbf60d5
commit 97b4e75478
5 changed files with 41 additions and 2 deletions
+1
View File
@@ -52,6 +52,7 @@ Redmine::AccessControl.map do |map|
# Watchers
map.permission :view_issue_watchers, {}
map.permission :add_issue_watchers, {:watchers => :new}
map.permission :delete_issue_watchers, {:watchers => :destroy}
end
map.project_module :time_tracking do |map|