OlatNamedContainerImpl namedContainer = BCCourseNode.getNodeFolderContainer(node, courseEnv);
namedContainer.setLocalSecurityCallback(new ReadOnlyCallback());
FolderRunController folder = new FolderRunController(namedContainer, false, ureq, getWindowControl());
previewVC.put("folder", folder.getInitialComponent());
// get additional infos
VFSSecurityCallback secCallback = new FolderNodeCallback(namedContainer.getRelPath(), ne, false, false, null);
previewVC.contextPut("canUpload", Boolean.valueOf(secCallback.canWrite()));
previewVC.contextPut("canDownload", Boolean.valueOf(secCallback.canRead()));
Quota q = secCallback.getQuota();
previewVC.contextPut("quotaKB", (q != null) ? q.getQuotaKB().toString() : "-");
setInitialComponent(previewVC);
}