diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-04 10:13:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-04 10:13:15 +0000 |
commit | f7cf8aa87845f9abf86d3d8e0449409a0d8d2cce (patch) | |
tree | fc43af7b14edd609a8d2ef6482342320d5a6a2fd /lib/redmine.rb | |
parent | 9284a32c9ac7b932feb72cf0d2d5fb1626ec7862 (diff) | |
download | redmine-f7cf8aa87845f9abf86d3d8e0449409a0d8d2cce.tar.gz redmine-f7cf8aa87845f9abf86d3d8e0449409a0d8d2cce.zip |
Adds REST API for TimeEntries (#6823).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4461 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-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 2b01f25e8..b5a9a57c5 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -85,7 +85,7 @@ Redmine::AccessControl.map do |map| map.project_module :time_tracking do |map| map.permission :log_time, {:timelog => [:new, :create, :edit, :update]}, :require => :loggedin - map.permission :view_time_entries, :timelog => [:index], :time_entry_reports => [:report] + 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 map.permission :manage_project_activities, {:project_enumerations => [:update, :destroy]}, :require => :member |