Report is empty if grouped by user in timesheet
While trying to display time report for all users grouped by user i received report only for current user, although all permissions were in place. Report looks correct if grouped by issue or by project with all user displayed. This bug does not occur for admin as well - report sorted by users displayed for admin account without any problems.
Updated by Eric Davis about 14 years ago
- Assignee deleted (
Is this for the timesheet plugin or the Redmine core? If the url for this page is
http://yourdomain.com/timesheet, it's the timesheet plugin and should be posted to my issue tracker at https://projects.littlestreamsoftware.com/projects/redmine-timesheet.
Updated by Vitaly Klimov about 14 years ago
- Status changed from New to Resolved
Yep, you were right - i was talking about timesheet plugin. Anyway i have found the solution to this problem - you have to add following two lines after line 217 to allow users with see_project_timesheets priveleges see other users time entries:
elsif User.current.allowed_to?(:see_project_timesheets, nil, :global => true) logs = time_entries_for_user(user_id)
it will fix this bug