super(wControl);
trans = new PackageTranslator(PACKAGE, ureq.getLocale());
previewVC = new VelocityContainer("bcPreviewVC", VELOCITY_ROOT + "/preview.html", trans, this);
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();