User profile layout (#2402)
This commit is contained in:
@@ -61,6 +61,7 @@ final class ReportingController extends AbstractController
|
||||
|
||||
private function canSelectUser(): bool
|
||||
{
|
||||
// also found in App\EventSubscriber\Actions\UserSubscriber
|
||||
if (!$this->isGranted('view_other_timesheet')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user