} else throw new OLATSecurityException("wanted to activate editor, but no according right");
} else if (cmd.equals("groupmngt")) {
if (hasCourseRight(CourseRights.RIGHT_GROUPMANAGEMENT) || isCourseAdmin) {
currentToolCtr = new CourseGroupManagementMainController(ureq, getWindowControl(), course, BusinessGroup.TYPE_LEARNINGROUP);
listenTo(currentToolCtr);
all.setContent(currentToolCtr.getInitialComponent());
} else throw new OLATSecurityException("clicked groupmanagement, but no according right");
} else if (cmd.equals("rightmngt")) {
if (isCourseAdmin) {
currentToolCtr = new CourseGroupManagementMainController(ureq, getWindowControl(), course, BusinessGroup.TYPE_RIGHTGROUP);
listenTo(currentToolCtr);
all.setContent(currentToolCtr.getInitialComponent());
} else throw new OLATSecurityException("clicked rightmanagement, but no according right");
} else if (cmd.equals("statistic")) {