Skip to content
Snippets Groups Projects
Commit 4d2d6bc0 authored by srosse's avatar srosse
Browse files

OO-4883: remove author flag from anoynmous test session

parent cf81f0fd
No related branches found
No related tags found
No related merge requests found
......@@ -803,8 +803,9 @@ public class QTI21AssessmentRunController extends BasicController implements Gen
RepositoryEntry courseRe = userCourseEnv.getCourseEnvironment().getCourseGroupManager().getCourseEntry();
if (!userCourseEnv.isParticipant() && courseNode instanceof IQTESTCourseNode) {
boolean authorMode = !ureq.getUserSession().getRoles().isGuestOnly();
displayCtrl = new AssessmentTestDisplayController(ureq, getWindowControl(), new InMemoryOutcomeListener(),
testEntry, courseRe, courseNode.getIdent(), deliveryOptions, overrideOptions, true, true, true);
testEntry, courseRe, courseNode.getIdent(), deliveryOptions, overrideOptions, true, authorMode, true);
} else {
displayCtrl = new AssessmentTestDisplayController(ureq, bwControl, this, testEntry, courseRe,
courseNode.getIdent(), deliveryOptions, overrideOptions, true, false, false);
......
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