acl->getUserId(); $projects = $this->projectPermission->getAllowedProjects($user_id); $this->response->html($this->template->layout('app_index', array( 'board_selector' => $projects, 'events' => $this->projectActivity->getProjects(array_keys($projects), 10), 'tasks' => $this->taskFinder->getAllTasksByUser($user_id), 'title' => t('Dashboard'), ))); } }