public void service(HttpServletRequest request, HttpServletResponse response) throws FormatterException {
renderFragment("outputStart");
renderFragment("workspacesSelect");
if (getNavigationManager().userIsAdminInCurrentWorkspace()) try {
Workspace currentWorkspace = getNavigationManager().getCurrentWorkspace();
BackOfficePermission createPerm = BackOfficePermission.newInstance(null, BackOfficePermission.ACTION_CREATE_WORKSPACE);
WorkspacePermission editPerm = WorkspacePermission.newInstance(currentWorkspace, WorkspacePermission.ACTION_EDIT);
WorkspacePermission deletePerm = WorkspacePermission.newInstance(currentWorkspace, WorkspacePermission.ACTION_DELETE);
boolean canAddWorkspace = getUserStatus().hasPermission(createPerm);
if (canAddWorkspace) {
renderFragment("createNewButton");