public function startup()
 {
     parent::startup();
     if (!$this->user->isAllowed('DashboardShortcuts', 'view')) {
         throw new ForbiddenRequestException('Access denied');
         $this->redirect('Dashboard:default');
     }
 }
 protected function startup()
 {
     parent::startup();
     $this->userManager->injectUser($this->user);
 }