From f436918dbee678a66d5228341385ae2c9e462a03 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 24 Nov 2011 21:21:15 +0000 Subject: Fixed that :edit_time_entries permission allows creating time entries (#9405). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7921 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/redmine.rb') diff --git a/lib/redmine.rb b/lib/redmine.rb index be5c8b5a3..252c1ca62 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -90,8 +90,8 @@ Redmine::AccessControl.map do |map| map.project_module :time_tracking do |map| map.permission :log_time, {:timelog => [:new, :create]}, :require => :loggedin map.permission :view_time_entries, :timelog => [:index, :show], :time_entry_reports => [:report] - map.permission :edit_time_entries, {:timelog => [:new, :create, :edit, :update, :destroy, :bulk_edit, :bulk_update]}, :require => :member - map.permission :edit_own_time_entries, {:timelog => [:new, :create, :edit, :update, :destroy,:bulk_edit, :bulk_update]}, :require => :loggedin + map.permission :edit_time_entries, {:timelog => [:edit, :update, :destroy, :bulk_edit, :bulk_update]}, :require => :member + map.permission :edit_own_time_entries, {:timelog => [:edit, :update, :destroy,:bulk_edit, :bulk_update]}, :require => :loggedin map.permission :manage_project_activities, {:project_enumerations => [:update, :destroy]}, :require => :member end -- cgit v1.2.3