public function workspaceParameters($workspaceId)
    {
        $workspace = $this->workspaceManager->getWorkspaceById($workspaceId);
        $tools = $this->toolManager->getToolByCriterias(
            array('isConfigurableInWorkspace' => true, 'isDisplayableInWorkspace' => true)
        );

        $canOpenResRights = true;

        if ($workspace->isPersonal() && !$this->rightsManager->canEditPwsPerm(
            $this->tokenStorage->getToken()
        )) {
            $canOpenResRights = false;
        }

        return $this->templating->render(
            'ClarolineCoreBundle:Tool\workspace\parameters:parameters.html.twig',
            array('workspace' => $workspace, 'tools' => $tools, 'canOpenResRights' => $canOpenResRights)
        );
    }