From 435c90eb478e705dff9ea239fd280a958a4287e3 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 11 Oct 2010 15:31:42 +0000 Subject: Refactor: extract TimelogController#edit to #update git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4248 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/redmine.rb') diff --git a/lib/redmine.rb b/lib/redmine.rb index 10bdf4c24..e5694a705 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -84,10 +84,10 @@ Redmine::AccessControl.map do |map| end map.project_module :time_tracking do |map| - map.permission :log_time, {:timelog => [:new, :create, :edit]}, :require => :loggedin + map.permission :log_time, {:timelog => [:new, :create, :edit, :update]}, :require => :loggedin map.permission :view_time_entries, :timelog => [:index], :time_entry_reports => [:report] - map.permission :edit_time_entries, {:timelog => [:new, :create, :edit, :destroy]}, :require => :member - map.permission :edit_own_time_entries, {:timelog => [:new, :create, :edit, :destroy]}, :require => :loggedin + map.permission :edit_time_entries, {:timelog => [:new, :create, :edit, :update, :destroy]}, :require => :member + map.permission :edit_own_time_entries, {:timelog => [:new, :create, :edit, :update, :destroy]}, :require => :loggedin map.permission :manage_project_activities, {:project_enumerations => [:update, :destroy]}, :require => :member end -- cgit v1.2.3