diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/edx/OpenEdxCourseRestriction.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/edx/OpenEdxCourseRestriction.java index b6c16975..56050745 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/edx/OpenEdxCourseRestriction.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/edx/OpenEdxCourseRestriction.java @@ -103,6 +103,16 @@ public class OpenEdxCourseRestriction implements SEBRestrictionAPI { return LmsSetupTestResult.ofOkay(LmsType.OPEN_EDX); } + @Override + public boolean hasSEBClientRestriction(final Exam exam) { + final Result sebClientRestriction = getSEBClientRestriction(exam); + if (sebClientRestriction.hasError()) { + return false; + } + + return true; + } + @Override public Result getSEBClientRestriction(final Exam exam) {