Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68572

Consider how to best describe the "Enable quitting of SEB" setting when used with client config

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9
    • 3.9
    • Quiz
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68572-master
    • Hide

      Prerequisites

      This must be tested on both Mac and Win using supported versions of SEB (macOS – 2.1.5pre2, Windows – 3.0, iOS – 2.1.16.)

      Preparation

      • Login as administrator and create a course and enrol a student to a course.
      • Add a new quiz in the course with at least one question.
      • For the quiz Safe Exam Browser settings set it to Configure Manually
      • Enable quitting of SEB = Yes
      • Quit password = 'password'
      • Save settings and Download configuration file by clicking to Download Configuration.
      • This is going to be your SEB config test file to use as a template and as uploaded config file.
      • As admin navigate to /mod/quiz/accessrule/seb/template.php
      • Create a new template using the file you downloaded on prev step.

      Testing template

      • As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created.
      • Enable quitting of SEB = Yes
      • Quit password = '12345'

       

      • Login as the student
      • Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config.
      • Site will be opened in SEB browser.
      • Try to quit SEB and make sure that it asks you for a password.
      • Type 12345 and make sure that it lets you quit SEB.

       

      • As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created.
      • Enable quitting of SEB = Yes
      • Quit password = ''

       

      • Login as the student
      • Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config.
      • Site will be opened in SEB browser.
      • Try to quit SEB and make sure that it doesn't ask you for a password and just let you quit SEB

       

      • As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created.
      • Enable quitting of SEB = No
      • Quit password = ''

       

      • Login as the student
      • Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config.
      • Site will be opened in SEB browser.
      • Try to quit SEB and make sure that it doesn't allow you to quit (you may need to hard reboot your machine here)

      Testing with the client config

      • As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created.
      • Enable quitting of SEB = No **

       

      • Configuring your local SEB:
      • set the start URL to the URL of the quiz in Moodle.
      • set a "Quit/unlock password" of "quit".

       

      • As a student using SEB navigate to the quiz
      • SEB reconfigures with the template the quiz is configured to use
      • Try to quit SEB and make sure that it doesn't let you quit

      Testing uploaded file

      • As admin Edit the quiz and set Require the use of Safe Exam Browser to use uploaded file and upload saved file.
      • Make sure that there is no settings "Enable quitting of SEB" and "Quit password" in the quiz settings form after you switched to a file.

       

      • Login as the student
      • Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config.
      • Site will be opened in SEB browser.
      • Try to quit SEB and make sure that it asks you for a password.
      • Type 'password' and make sure that it lets you quit SEB.

       

       

      Show
      Prerequisites This must be tested on both Mac and Win using supported versions of SEB (macOS – 2.1.5pre2, Windows – 3.0, iOS – 2.1.16.) Preparation Login as administrator and create a course and enrol a student to a course. Add a new quiz in the course with at least one question. For the quiz Safe Exam Browser settings set it to Configure Manually Enable quitting of SEB = Yes Quit password = 'password' Save settings and Download configuration file by clicking to Download Configuration. This is going to be your SEB config test file to use as a template and as uploaded config file. As admin navigate to /mod/quiz/accessrule/seb/template.php Create a new template using the file you downloaded on prev step. Testing template As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created. Enable quitting of SEB = Yes Quit password = '12345'   Login as the student Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config. Site will be opened in SEB browser. Try to quit SEB and make sure that it asks you for a password . Type 12345 and make sure that it lets you quit SEB .   As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created. Enable quitting of SEB = Yes Quit password = ''   Login as the student Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config. Site will be opened in SEB browser. Try to quit SEB and make sure that it doesn't ask you for a password and just let you quit SEB   As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created. Enable quitting of SEB = No Quit password = ''   Login as the student Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config. Site will be opened in SEB browser. Try to quit SEB and make sure that it doesn't allow you to quit (you may need to hard reboot your machine here) Testing with the client config As admin Edit the quiz and set Require the use of Safe Exam Browser to use template and pick the template you created. Enable quitting of SEB = No **   Configuring your local SEB: set the start URL to the URL of the quiz in Moodle. set a "Quit/unlock password" of "quit".   As a student using SEB navigate to the quiz SEB reconfigures with the template the quiz is configured to use Try to quit SEB and make sure that it doesn't let you quit Testing uploaded file As admin Edit the quiz and set Require the use of Safe Exam Browser to use uploaded file and upload saved file. Make sure that there is no settings "Enable quitting of SEB" and "Quit password" in the quiz settings form after you switched to a file.   Login as the student Navigate to the quiz and click Launch SEB to start exam in SEB using provided generated config. Site will be opened in SEB browser. Try to quit SEB and make sure that it asks you for a password . Type 'password' and make sure that it lets you quit SEB .    

    Description

      This issue related specifically to a usage scenario in quizaccess_seb.

      Prerequisite: I've configured the client seb settings (on the student machine) to use 'quit' as the password to exit. (as per step 18 of MDLQA-14127)

      Scenario 1: If in Moodle I enable "Enable quitting of SEB" and save WITHOUT a password, then any student accessing the quiz via SEB will be able to exit without entering a password.

      Scenario 2: If, in Moodle, I enable "Enable quitting of SEB" and set a password, any student accessing the quiz via SEB will be able to exit and must enter the password set in Moodle.

      Scenario 3: If, in Moodle, I disable "Enable quitting of SEB", then any student accessing the quiz via SEB will be able to quit SEB, but will require the password set on their local client config.

      So, scenario 1 and 2 are ok to me. They override the client config.

      Scenario 3 is where it gets funny. You've said you want to disable quitting, but what you're really saying is that you want to let the quitting logic be handled by the client config. You haven't disabled it at all.

      So, we need to either:
      a) Update the tooltip to make it clear that "No" means "delegate to client" when templates are used with client config
      b) Change the logic. Currently, this value is only sent if set to "Yes". "No" lets the client config control the quit setting (https://github.com/catalyst/moodle/blob/MDL-67850-integration-master/mod/quiz/accessrule/seb/classes/quiz_settings.php#L537)

       

      Update:

      The decision was made to modify logic as following:

      1. Remove "Enable quitting of SEB" and "Quit password" settings for manually uploaded files, so moodle will use whatever set in the uploaded file.
      2. If using template , "Enable quitting of SEB" and "Quit password" will be always overridden by Moodle settings.

       

      Attachments

        Issue Links

          Activity

            People

              dmitriim Dmitrii Metelkin
              jaked Jake Dallimore
              Tim Hunt Tim Hunt
              Jake Dallimore Jake Dallimore
              Jake Dallimore Jake Dallimore
              Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h