mirror of
https://github.com/redmine/redmine.git
synced 2025-12-22 16:30:38 +01:00
Adds permissions for viewing the watcher list and adding new watchers on the issue detail view (#398).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1712 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -46,6 +46,9 @@ Redmine::AccessControl.map do |map|
|
||||
# Gantt & calendar
|
||||
map.permission :view_gantt, :projects => :gantt
|
||||
map.permission :view_calendar, :projects => :calendar
|
||||
# Watchers
|
||||
map.permission :view_issue_watchers, {}
|
||||
map.permission :add_issue_watchers, {:watchers => :new}
|
||||
end
|
||||
|
||||
map.project_module :time_tracking do |map|
|
||||
|
||||
Reference in New Issue
Block a user