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

It should be possible to view anonymous events in reports

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_39_STABLE
    • patch_view_anon_event_MDL-66213
    • Hide

      Setup

      1. Login as a site admin.
      2. Create a course "C1".
      3. Access to course "C1" and create an assignment activity "A1" with "Blind marking" enabled (this option appears in the "Grade" section).
      4. Access to the main course "C1" page, click over the cog, select "More...", go to the "Reports" tab and open "Live logs" in a new tab. This page is referenced in the following steps as "Live logs tab".
      5. Access to the assignment, click over the cog and select "Logs" in a new tab. This page is referenced in the following steps as "Logs tab".
      6. Login as a student.
      7. Access to the assignment and add a submission.
      8. Logout.

      Testing scenario 1: admin can view anonymous events

      1. Login as a site admin.
      2. Access to the "Live logs tab" and refresh the log view.
      3. Check there is a "Submission created" event visible.
      4. Access to the "Logs tab" and view the logs for that assignment and student.
      5. Check there is a "Submission created" event visible.

      Testing scenario 2: manager can view anonymous events

      1. Login as a manager.
      2. Access to the "Live logs tab" and refresh the log view.
      3. Check there is a "Submission created" event visible.
      4. Access to the "Logs tab" and view the logs for that assignment and student.
      5. Check there is a "Submission created" event visible.

      Testing scenario 3: teacher can't view anonymous events

      1. Login as a teacher.
      2. Access to the "Live logs tab" and refresh the log view.
      3. Check there is NOT any "Submission created" event visible.
      4. Access to the "Logs tab" and view the logs for that assignment and student.
      5. Check there is NOT any "Submission created" event visible.

      Testing scenario 4: teacher with the "moodle/site:viewanonymousevents" capability at module context can view anonymous events

      1. Login as a manager.
      2. Access to the assignment "A1".
      3. Select "Permissions" from the cog.
      4. In "Advanced role override" select "Teacher".
      5. Search for the "moodle/site:viewanonymousevents" capability and Allow it for them.
      6. Logout.
      7. Login as a teacher.
      8. Access to the "Live logs tab" and refresh the log view.
      9. Check there is NOT any "Submission created" event visible.
      10. Access to the "Logs tab" and view the logs for that assignment and student.
      11. Check now there is a "Submission created" event visible.
      12. Select "All activities" instead of the assignment "A1".
      13. Check there is NOT any "Submission created" event visible.

      Testing scenario 5: teacher with the "moodle/site:viewanonymousevents" capability at course context can view anonymous events

      1. Login as a manager.
      2. Access to the course "C1".
      3. Go to the Participants page.
      4. Select "Permissions" from the cog.
      5. In "Advanced role override" select "Teacher".
      6. Search for the "moodle/site:viewanonymousevents" capability and Allow it for them.
      7. Logout.
      8. Login as a teacher.
      9. Access to the "Live logs tab" and refresh the log view.
      10. Check now there is a "Submission created" event visible.
      11. Access to the "Logs tab" and view the logs for that assignment and student.
      12. Check there is a "Submission created" event visible.
      13. Select "All activities" instead of the assignment "A1".
      14. Check there is a "Submission created" event visible.
      Show
      Setup Login as a site admin. Create a course "C1". Access to course "C1" and create an assignment activity "A1" with "Blind marking" enabled (this option appears in the "Grade" section). Access to the main course "C1" page, click over the cog, select "More...", go to the "Reports" tab and open "Live logs" in a new tab. This page is referenced in the following steps as "Live logs tab". Access to the assignment, click over the cog and select "Logs" in a new tab. This page is referenced in the following steps as "Logs tab". Login as a student. Access to the assignment and add a submission. Logout. Testing scenario 1: admin can view anonymous events Login as a site admin. Access to the "Live logs tab" and refresh the log view. Check there is a "Submission created" event visible. Access to the "Logs tab" and view the logs for that assignment and student. Check there is a "Submission created" event visible. Testing scenario 2: manager can view anonymous events Login as a manager. Access to the "Live logs tab" and refresh the log view. Check there is a "Submission created" event visible. Access to the "Logs tab" and view the logs for that assignment and student. Check there is a "Submission created" event visible. Testing scenario 3: teacher can't view anonymous events Login as a teacher. Access to the "Live logs tab" and refresh the log view. Check there is NOT any "Submission created" event visible. Access to the "Logs tab" and view the logs for that assignment and student. Check there is NOT any "Submission created" event visible. Testing scenario 4: teacher with the "moodle/site:viewanonymousevents" capability at module context can view anonymous events Login as a manager. Access to the assignment "A1". Select "Permissions" from the cog. In "Advanced role override" select "Teacher". Search for the "moodle/site:viewanonymousevents" capability and Allow it for them. Logout. Login as a teacher. Access to the "Live logs tab" and refresh the log view. Check  there is NOT any "Submission created" event visible. Access to the "Logs tab" and view the logs for that assignment and student. Check now there is a "Submission created" event visible. Select "All activities" instead of the assignment "A1". Check  there is NOT any "Submission created" event visible. Testing scenario 5: teacher with the "moodle/site:viewanonymousevents" capability at course context can view anonymous events Login as a manager. Access to the course "C1". Go to the Participants page. Select "Permissions" from the cog. In "Advanced role override" select "Teacher". Search for the "moodle/site:viewanonymousevents" capability and Allow it for them. Logout. Login as a teacher. Access to the "Live logs tab" and refresh the log view. Check now there is a "Submission created" event visible. Access to the "Logs tab" and view the logs for that assignment and student. Check  there is a "Submission created" event visible. Select "All activities" instead of the assignment "A1". Check  there is a "Submission created" event visible.

      With MDL-45151 and MDL-45087, important events in blind-marked assignments are impossible to see in the log views. This makes it impossible to check information (e.g. upload time, submission time) that is essential for policing attempts to cheat via fraudulent submissions.

      Obviously, hiding these events from teachers/graders is essential for maintaining blind-marking standards, and the event anonymity can't be changed when un-blinding the assignment.

      I think we need a new capability `moodle/site:viewanonymousevents`, which could be granted to non-teaching users, enabling access to the anonymous events.

        1. Screenshot_1.png
          Screenshot_1.png
          453 kB
        2. Screenshot_2.png
          Screenshot_2.png
          200 kB
        3. Screenshot_3.png
          Screenshot_3.png
          407 kB
        4. Screenshot_4.png
          Screenshot_4.png
          395 kB

            balchd Dave Balch
            balchd Dave Balch
            Peter Dias Peter Dias
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Janelle Barcega Janelle Barcega
            Votes:
            2 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 14 minutes
                6h 14m

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