diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-03 15:04:03 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-03 15:04:03 +0000 |
commit | c1068bf0cd32df1edf9b1b69e76e30af84692b7c (patch) | |
tree | 5348f3f6cbbb0023581b7d2e202b4cdaa00eac6c /lib | |
parent | 83b4343d2d403a21de4614016e165091e4c5914f (diff) | |
download | redmine-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.rb | 2 |
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| |