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

Single View Report not functioning with Groups

    XMLWordPrintable

Details

    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • Hide
      1. In a given course, enrol few students and two teachers.
      2. Change course settings to Separate groups and Force group mode.
      3. Remove the accessallgroups capability from teacher role.
      4. Create 2 groups, add few students and a teacher into each group.
      5. Add a grade item.
      6. Log in as teacher 1 and go to Grades > Single view.
      7. Make sure you only see the students that belongs to your group.
      8. Suspend the enrolment of a user. (As admin)
      9. Make sure you're not able to see this user on the single view report.
      10. Activate the student enrolment again.
      11. Make sure you are able to see this student on singleview report.
      12. Try to manupulate the URL, changing params (itemid or groupid)
      13. Make sure it will throw an error on case of invalid user id or it will not display the user of a group you dont belong.
      14. Run unit tests on : grade/report/singleview/tests/screen_test.php and make sure it pass.
      Show
      In a given course, enrol few students and two teachers. Change course settings to Separate groups and Force group mode . Remove the accessallgroups capability from teacher role. Create 2 groups, add few students and a teacher into each group. Add a grade item. Log in as teacher 1 and go to Grades > Single view. Make sure you only see the students that belongs to your group. Suspend the enrolment of a user. (As admin) Make sure you're not able to see this user on the single view report. Activate the student enrolment again. Make sure you are able to see this student on singleview report. Try to manupulate the URL, changing params (itemid or groupid) Make sure it will throw an error on case of invalid user id or it will not display the user of a group you dont belong. Run unit tests on : grade/report/singleview/tests/screen_test.php and make sure it pass.
    • BACKEND Sprint 18

    Description

      Single View Reports does not filter users based on group access.

      A Teacher in Group A can see and edit students grades who are in Group B.

      See Forumn Discussion: https://moodle.org/mod/forum/discuss.php?d=275232

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              getsingb Brian Getsinger
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Mark Nelson Mark Nelson
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Jan/15