summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-03 15:04:03 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-03 15:04:03 +0000
commitc1068bf0cd32df1edf9b1b69e76e30af84692b7c (patch)
tree5348f3f6cbbb0023581b7d2e202b4cdaa00eac6c /lib
parent83b4343d2d403a21de4614016e165091e4c5914f (diff)
downloadredmine-c1068bf0cd32df1edf9b1b69e76e30af84692b7c.tar.gz
redmine-c1068bf0cd32df1edf9b1b69e76e30af84692b7c.zip
Refactor: move method, ProjectsController#reset_activities to ProjectEnumerationsController#destroy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4054 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 fdd61225e..fc750d110 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -87,7 +87,7 @@ Redmine::AccessControl.map do |map|
map.permission :view_time_entries, :timelog => [:details, :report]
map.permission :edit_time_entries, {:timelog => [:edit, :destroy]}, :require => :member
map.permission :edit_own_time_entries, {:timelog => [:edit, :destroy]}, :require => :loggedin
- map.permission :manage_project_activities, {:projects => [:reset_activities], :project_enumerations => [:save]}, :require => :member
+ map.permission :manage_project_activities, {:project_enumerations => [:save, :destroy]}, :require => :member
end
map.project_module :news do |map|