Refactor: convert many of the custom Issue routes to REST resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4041 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+2
-2
@@ -137,11 +137,11 @@ Redmine::AccessControl.map do |map|
|
||||
end
|
||||
|
||||
map.project_module :calendar do |map|
|
||||
map.permission :view_calendar, :calendars => :show
|
||||
map.permission :view_calendar, :calendars => [:show, :update]
|
||||
end
|
||||
|
||||
map.project_module :gantt do |map|
|
||||
map.permission :view_gantt, :gantts => :show
|
||||
map.permission :view_gantt, :gantts => [:show, :update]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user