}
private void doContextEdit(UserRequest ureq) {
if (isContextOwner || ureq.getUserSession().getRoles().isOLATAdmin()) {
if (contextEditCtr != null) contextEditCtr.dispose();
this.contextEditCtr = new BGContextEditController(ureq, getWindowControl(), this.bgContext);
contextEditCtr.addControllerListener(this);
contextEditVC.put("contexteditor", contextEditCtr.getInitialComponent());
contextEditVC.contextPut("editingAllowed", Boolean.TRUE);
} else {
// show who is the owner of this context