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

Parent role only sees course total and no longer individual grades

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable the config enableavailability
      2. Set up a course with a few gradeable activities
        1. A should be hidden (use the Eye icon to hide the activity!)
        2. B should be hidden conditionally (to the students), using the "Restrict access" feature
        3. C should be hidden conditionally but display information (greyed out), using the "Restrict access" feature
        4. D should be set to use a grouping and Available for group members only (Config enablegroupmembersonly must be enabled)
        5. E should be visible
      3. Ensure that guest access is disabled in the course
      4. Enrol a student, and make sure he is NOT part of ANY group/grouping
      5. Set a parent for that student (http://docs.moodle.org/27/en/Parent_role)
      6. As a teacher grade the student on each activities
      7. View the user report as the student, and make sure that you
        • ... cannot see A, B or D
        • ... can see C and E
        • Repeat accessing your report from 'Activity reports > Grade' (course/user.php)
      8. In a another window, login as the parent
      9. Navigate through to their 'Activity reports > Grade' from their course profile (course/user.php)
      10. Make sure that you see the exact same thing as them
      11. Make sure the activity names are not links
      12. Login as a teacher and visit the user report (use base theme)
      13. Make sure you can see A, B, C, D, E
        • Repeat accessing their report from 'Activity reports > Grade' (course/user.php)
        • Note: This will work on Clean after MDL-46874 is fixed.
      Show
      Enable the config enableavailability Set up a course with a few gradeable activities A should be hidden (use the Eye icon to hide the activity!) B should be hidden conditionally (to the students), using the "Restrict access" feature C should be hidden conditionally but display information (greyed out), using the "Restrict access" feature D should be set to use a grouping and Available for group members only (Config enablegroupmembersonly must be enabled) E should be visible Ensure that guest access is disabled in the course Enrol a student, and make sure he is NOT part of ANY group/grouping Set a parent for that student ( http://docs.moodle.org/27/en/Parent_role ) As a teacher grade the student on each activities View the user report as the student, and make sure that you ... cannot see A, B or D ... can see C and E Repeat accessing your report from 'Activity reports > Grade' (course/user.php) In a another window, login as the parent Navigate through to their 'Activity reports > Grade' from their course profile (course/user.php) Make sure that you see the exact same thing as them Make sure the activity names are not links Login as a teacher and visit the user report (use base theme) Make sure you can see A, B, C, D, E Repeat accessing their report from 'Activity reports > Grade' (course/user.php) Note: This will work on Clean after MDL-46874 is fixed.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43197-master-2nd
    • Story Points:
      20
    • Sprint:
      BACKEND Sprint 15

      Description

      In 2.5 and 2.6 it appears the parent role can only see the course total of their child when viewing their user report, whereas previously they could see each individual grade in a course. Has a capability changed?

      Steps to reproduce:

      (Rather long unfortunately)
      1. As a teacher, create two assignments in a course and then grade them for a specific student.
      2. Verify you can see both grades separately for the student.
      3. Create the parent role as in http://docs.moodle.org/26/en/Parent_role
      4. Add a user to the student you graded as a parent and add the mentees block to the front page.
      5. Log in as the parent; click the name of the student in the mentees block.
      6. From the student's profile,click the name of the course where the 2 assignments are.
      7. In Administration>Profile settings for (student name) click Activity reports and then Grade.
      8. The course total of both assignments is shown but not each individual assignment.

        Attachments

        1. 2.5 and 2.6 view.png
          2.5 and 2.6 view.png
          8 kB
        2. block_mentees.php
          3 kB
        3. Previous View.png
          Previous View.png
          20 kB

          Issue Links

            Activity

              People

              • Votes:
                22 Vote for this issue
                Watchers:
                27 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Sep/14