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

Activity restricted access dates not adjusted when restoring to different start date

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.1.3
    • Restrict access
    • None
    • MOODLE_21_STABLE
    • Hide

      Currently there is no workaround besides manually editing each section or activity individually.

      Show
      Currently there is no workaround besides manually editing each section or activity individually.
    • Hide

      1. Create a course in a topic or weekly format.
      2. Edit a course section so that "Restrict Access" has "Allow access from" and "Allow access until" dates selected. Set these dates to, respectively, 1 week after the course start date and 2 weeks after the course start date.
      3. Back up the course using default settings.
      4. Restore the backup to a new course. Use default settings except when you get to the screen about changing the start date - move the start date forward by 6 months.
      5. Check the dates of the section on the restored course.
      + The 'Allow access from' date should be 1 week after the NEW course start date, and 'until' should be 2 weeks after it. I.e. both dates should be six months later than the original value.

      Show
      1. Create a course in a topic or weekly format. 2. Edit a course section so that "Restrict Access" has "Allow access from" and "Allow access until" dates selected. Set these dates to, respectively, 1 week after the course start date and 2 weeks after the course start date. 3. Back up the course using default settings. 4. Restore the backup to a new course. Use default settings except when you get to the screen about changing the start date - move the start date forward by 6 months. 5. Check the dates of the section on the restored course. + The 'Allow access from' date should be 1 week after the NEW course start date, and 'until' should be 2 weeks after it. I.e. both dates should be six months later than the original value.

      If a course has been set up so that individual course sections are restricted to open during a particular date range, then those dates should shift automatically relative to the course start date if it changes. (likewise with activities or resources that have conditional access settings)

      Usage examples would be a course shell that is being used from semester to semester - section 1 is set so that it can only be accessed the first week of classes (say January 9th-15th), and the course start date is January 9th. When the course is copied for the next semester and the course start date changes to August 13th, then the first week should automatically update to be restricted for access from August 13th-19th. The way it currently functions, all of those restricted dates need to be updated manually which can be quite tedious on a large scale.

            quen Sam Marshall
            mtrombley Michael Trombley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.