public function adminAction()
 {
     $this->assertUserRights(UserRole::ROLE_ADMIN);
     $tools = $this->getDoctrine()->getRepository('KoalamonIncidentDashboardBundle:Tool')->findByProject($this->getProject(), false);
     return $this->render('KoalamonDefaultBundle:Tool:admin.html.twig', array('tools' => $tools, 'roles' => UserRole::getRoles()));
 }
 public function transferAction()
 {
     $this->assertUserRights(UserRole::ROLE_OWNER);
     return $this->render('KoalamonDefaultBundle:Project:transfer.html.twig', array('roles' => UserRole::getRoles()));
 }
 public function adminAction()
 {
     $this->assertUserRights(UserRole::ROLE_ADMIN);
     return $this->render('KoalamonDefaultBundle:User:admin.html.twig', array('roles' => UserRole::getRoles()));
 }