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

Restrict access to activities using grade conditions not working as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 2.5
    • 2.5
    • Restrict access
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE

      The steps to reproduce the problem are in the MDLQA:
      1. Login as a teacher and create an online text assignment.
      2. Create a page resource with a grade condition of the online text assignment being at least 20%.
      3. Select 'Show activity greyed-out, with restriction information' for 'Before activity is available'.
      4. Login as a student, view the course page and check that the page resource is shown greyed-out with the grade condition specified.
      5. Attempt the online text assignment.
      6. Login as the teacher and give the student's online text submission at least 20%.
      7. Login as the student, view the course page and check that page resource is now available.

      There are a couple of issues:

      • With 2 browsers, a teacher session and a student session, when the student submission is graded over to minimal grade the student can not access the page resource
      • Login as teacher -> grade student submission -> login as student. The student can access the page resource, but is greyed-out and without the restrict condition info

      More info and screenshot in MDLQA-5412 comments: https://tracker.moodle.org/browse/MDLQA-5412?focusedCommentId=216540&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-216540

            quen Sam Marshall
            dmonllao David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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