@@ -187,7 +187,7 class IssuesController < ApplicationController | |||
|
187 | 187 | |
|
188 | 188 | if (@time_entry.hours.nil? || @time_entry.valid?) && @issue.save |
|
189 | 189 | # Log spend time |
|
190 |
if current |
|
|
190 | if User.current.allowed_to?(:log_time, @project) | |
|
191 | 191 | @time_entry.save |
|
192 | 192 | end |
|
193 | 193 | if !journal.new_record? |
General Comments 0
You need to be logged in to leave comments.
Login now