]> wagnertech.de Git - timetracker.git/blobdiff - reports.php
Removed view_client_unapproved right from default client role.
[timetracker.git] / reports.php
index febfad794bef66b06f03b5c1790dc9d53a845164..d6a9a70740b67b265729493c68e5eebfebe0cf2d 100644 (file)
@@ -194,7 +194,7 @@ if ($showApproved) {
 // Add timesheet assignment selector.
 $showTimesheetDropdown = $user->isPluginEnabled('ts') &&
   ($user->can('view_own_timesheets') || $user->can('view_timesheets') ||
-   $user->can('view_all_timesheets') || ($user->can('view_client_timesheets') && $user->can('view_client_unapproved')));
+   $user->can('view_all_timesheets') || ($user->can('view_client_timesheets')));
 if ($showTimesheetDropdown) {
   $form->addInput(array('type'=>'combobox',
    'name'=>'timesheet',