summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 4c5cbdaae..5443eef4a 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -49,6 +49,8 @@ Redmine::AccessControl.map do |map|
map.project_module :time_tracking do |map|
map.permission :log_time, {:timelog => :edit}, :require => :loggedin
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
end
map.project_module :news do |map|