Skip to content
Snippets Groups Projects
Commit 0d6728b1 authored by uhensler's avatar uhensler
Browse files

OO-4241: Add access tab to members course element

parent c71d0fda
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ import org.olat.core.id.Roles;
import org.olat.core.util.Util;
import org.olat.core.util.nodes.INode;
import org.olat.course.ICourse;
import org.olat.course.editor.ConditionAccessEditConfig;
import org.olat.course.editor.CourseEditorEnv;
import org.olat.course.editor.NodeEditController;
import org.olat.course.editor.StatusDescription;
......@@ -131,6 +132,11 @@ public class MembersCourseNode extends AbstractAccessableCourseNode {
return new NodeEditController(ureq, wControl, course, chosenNode, euce, childTabCntrllr);
}
@Override
public ConditionAccessEditConfig getAccessEditConfig() {
return ConditionAccessEditConfig.regular(false);
}
@Override
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl,
UserCourseEnvironment userCourseEnv, CourseNodeSecurityCallback nodeSecCallback, String nodecmd) {
......
......@@ -42,6 +42,7 @@ import org.olat.modules.ModuleConfiguration;
* @autohr dfurrer, dirk.furrer@frentix.com, http://www.frentix.com
*/
public class MembersCourseNodeEditController extends ActivateableTabbableDefaultController implements ControllerEventListener {
public static final String PANE_TAB_MEMBERSCONFIG = "pane.tab.membersconfig";
private static final String[] paneKeys = {PANE_TAB_MEMBERSCONFIG};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment