Moodle
  1. Moodle
  2. MDL-7315

Give time/date extensions to individual students for course activities.

    Details

    • Testing Instructions:
      Hide

      Ideally this should be tested on all databases that Moodle support including Oracle and MSSQL, but the fact that all queries are adapted from the ones used by quiz overrides greatly mitigate this need.

      Basic user overrides functionnalities

      You need a course with users, groups and users in groups

      1. Create a lesson and note values of settings that can be overridden. This includes:
      • all the settings in the "Availability" section (Available from, Deadline, Time limit, Password)
      • In the "Flow control" section "Provide option to try a question again" and "Maximum number of attempts"
      • In the "Grade" section "Re-takes allowed" and "Handling of re-takes"
      1. Create some user overrides, overriding some of the lesson settings and verify that they work as expected (that is only this user is affected, and lesson settings are correctly overridden)
      2. edit some of these overrides and verify the new value is taken into account
      3. verify cloning a user override is working and if you can edit the clone without change to the original
      4. verify that when you are on the edit override screen the "Save and enter another override" permit you to create a new override based on the previous one and both are correctly saved

      Basic group overrides functionalities

      1. create some group overrides for the lesson
      2. verify only users in these groups are affected
      3. verify that if an user has both a group and an user override, the user one has precedence.
      4. verify that if an user is member of 2 different groups and there are group overrides for each of these groups, the most relaxed settings are applied.
      5. verify that if you delete a group for which there is an override created, it is correctly deleted

      Logging system

      Verify that all actions have been correctly logged in the new logging system.

      Backup and restore

      Backup the course and restore it as a new course, verify that all overrides are correctly restored and user, groups mappings are correct.
      Verify that availability and deadline dates are correctly shifted.
      Restore a Moodle 1.9 and Moodle 2.7 backup and verify no error or waring is displayed

      Events

      Verify that an user with an override see correct events in the calendar, and that if this override is edited, events are correctly updated

      Show
      Ideally this should be tested on all databases that Moodle support including Oracle and MSSQL, but the fact that all queries are adapted from the ones used by quiz overrides greatly mitigate this need. Basic user overrides functionnalities You need a course with users, groups and users in groups Create a lesson and note values of settings that can be overridden. This includes: all the settings in the "Availability" section (Available from, Deadline, Time limit, Password) In the "Flow control" section "Provide option to try a question again" and "Maximum number of attempts" In the "Grade" section "Re-takes allowed" and "Handling of re-takes" Create some user overrides, overriding some of the lesson settings and verify that they work as expected (that is only this user is affected, and lesson settings are correctly overridden) edit some of these overrides and verify the new value is taken into account verify cloning a user override is working and if you can edit the clone without change to the original verify that when you are on the edit override screen the "Save and enter another override" permit you to create a new override based on the previous one and both are correctly saved Basic group overrides functionalities create some group overrides for the lesson verify only users in these groups are affected verify that if an user has both a group and an user override, the user one has precedence. verify that if an user is member of 2 different groups and there are group overrides for each of these groups, the most relaxed settings are applied. verify that if you delete a group for which there is an override created, it is correctly deleted Logging system Verify that all actions have been correctly logged in the new logging system. Backup and restore Backup the course and restore it as a new course, verify that all overrides are correctly restored and user, groups mappings are correct. Verify that availability and deadline dates are correctly shifted. Restore a Moodle 1.9 and Moodle 2.7 backup and verify no error or waring is displayed Events Verify that an user with an override see correct events in the calendar, and that if this override is edited, events are correctly updated
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:

      Description

      Have the ability to extend time/date limitations for activities for individual students. It would be nice to be able to set this at a course OR student level.

      Discussed in various ways at:

      http://moodle.org/mod/forum/discuss.php?d=57271
      http://moodle.org/mod/forum/discuss.php?d=52690&parent=241064

      and probably others.

        Gliffy Diagrams

        1. patch.txt
          77 kB
          yogeshrl
        1. mainExtensionsWindow.png
          150 kB
        2. override_edit.png
          71 kB
        3. override_list.png
          38 kB
        4. singleUserExtension.png
          129 kB

          Issue Links

            Activity

              People

              • Votes:
                69 Vote for this issue
                Watchers:
                39 Start watching this issue

                Dates

                • Created:
                  Updated: