diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/LmsSetup.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/LmsSetup.java index 223a53f3..7603eabc 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/LmsSetup.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/institution/LmsSetup.java @@ -61,7 +61,7 @@ public final class LmsSetup implements GrantEntity, Activatable { /** The Moodle binding features only the course access API so far */ MOODLE(Features.COURSE_API /* , Features.SEB_RESTRICTION */), /** The Ans Delft binding is on the way */ - ANS_DELFT(), + ANS_DELFT(Features.COURSE_API, Features.SEB_RESTRICTION), /** The OpenOLAT binding is on the way */ OPEN_OLAT(Features.COURSE_API, Features.SEB_RESTRICTION); diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java index 573fd16a..b2a3c32c 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java @@ -357,7 +357,7 @@ public class LmsSetupForm implements TemplateComposer { } try { - return this.resourceService.lmsTypeResources().get(0)._1; + return LmsType.MOCKUP.name(); } catch (final Exception e) { return null; }