[#735] Don't allow time entry edits with only log_time permission

Based on a patch by Jean-Philippe Lang.
This commit is contained in:
Holger Just 2011-11-28 20:40:08 +01:00
parent 42363c32f7
commit c5b83b8709
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ Redmine::AccessControl.map do |map|
end
map.project_module :time_tracking do |map|
map.permission :log_time, {:timelog => [:new, :create, :edit, :update]}, :require => :loggedin
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]}, :require => :member
map.permission :edit_own_time_entries, {:timelog => [:new, :create, :edit, :update, :destroy]}, :require => :loggedin