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

Completion checkbox is displayed next to activities with access restriction

    Details

    • Testing Instructions:
      Hide
      1. Enable "Completion tracking" for a course
      2. add several activities to the course page with some completion criteria
      3. add access restriction to one of them so that student does not satisfy it (for example date in the future)
      4. open the course page as a student
      5. make sure completion box is displayed for available activity but not displayed for the one with access restriction
      6. as teacher enable guest access to this course
      7. log out and access the course as a guest
      8. make sure completion boxes are not displayed
      9. log in as a user who is not enrolled in this course and open the course page (guest access will allow you)
      10. make sure completion boxes are displayed and you can change completion
      Show
      Enable " Completion tracking " for a course add several activities to the course page with some completion criteria add access restriction to one of them so that student does not satisfy it (for example date in the future) open the course page as a student make sure completion box is displayed for available activity but not displayed for the one with access restriction as teacher enable guest access to this course log out and access the course as a guest make sure completion boxes are not displayed log in as a user who is not enrolled in this course and open the course page (guest access will allow you) make sure completion boxes are displayed and you can change completion
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull 3.3 Branch:
      wip-MDL-59412-33
    • Pull Master Branch:
      wip-MDL-59412-master
    • Sprint:
      3.4 Sprint 2

      Description

      When activity access is restricted and student does not qualify yet, the manual completion checkbox is still displayed. Error is thrown if student tries to click it

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Jul/17