fixed open edx restriction detection
This commit is contained in:
parent
d648bcb167
commit
8fcbf82636
1 changed files with 10 additions and 0 deletions
|
@ -103,6 +103,16 @@ public class OpenEdxCourseRestriction implements SEBRestrictionAPI {
|
|||
return LmsSetupTestResult.ofOkay(LmsType.OPEN_EDX);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasSEBClientRestriction(final Exam exam) {
|
||||
final Result<SEBRestriction> sebClientRestriction = getSEBClientRestriction(exam);
|
||||
if (sebClientRestriction.hasError()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result<SEBRestriction> getSEBClientRestriction(final Exam exam) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue