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

It should be possible to view anonymous events in reports

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5.7, 3.6.5, 3.7.1
    • Fix Version/s: None
    • Component/s: Reports, Roles / Access
    • Labels:
    • Testing Instructions:
      Hide

      Before applying the patch (no anonymous events will be visible):

      1. Create an assignment activity with blind-marking enabled.
      2. As a site admin, open a Live logs view for the course. Keep this view open (e.g. in a different browser).
      3. As a tutor, open a Live logs view for the course. Keep this view open (e.g. in a different browser).
      4. As a student, add a submission.
      5. As a site admin, refresh the live log view - there will not be a "Submission created." event.
      6. As a site admin, view the logs for that assignment and student - there will not be a "Submission created." event.
      7. As a tutor, refresh the live log view - there will not be a "Submission created." event.
      8. As a tutor, view the logs for that assignment and student - there will not be a "Submission created." event.

      After applying the patch:

      1. As a site admin, open a Live logs view for the course. Keep this view open (e.g. in a different browser).
      2. As a tutor, open a Live logs view for the course. Keep this view open (e.g. in a different browser).
      3. As a student, add a submission.
      4. As a site admin, refresh the live log view - there should be a "Submission created." event visible.
      5. As a site admin, view the logs for that assignment and student - there should be a "Submission created." event visible.
      6. As a tutor, view the logs for that assignment and student - there should not be a "Submission created." event.
      7. As a tutor, view the logs for that assignment and student - there should be a "Submission created." event visible.

      Extra test:

      1. Edit the "Manager" role to Allow `moodle/site:viewanonymousevents`.
      2. Enrol a user as a Manager on the assignment's course.
      3. As the Manager, view the logs for that assignment and student - there should be a "Submission created." event visible.
      Show
      Before applying the patch (no anonymous events will be visible): Create an assignment activity with blind-marking enabled. As a site admin, open a Live logs view for the course. Keep this view open (e.g. in a different browser). As a tutor, open a Live logs view for the course. Keep this view open (e.g. in a different browser). As a student, add a submission. As a site admin, refresh the live log view - there will not be a "Submission created." event. As a site admin, view the logs for that assignment and student - there will not be a "Submission created." event. As a tutor, refresh the live log view - there will not be a "Submission created." event. As a tutor, view the logs for that assignment and student - there will not be a "Submission created." event. After applying the patch: As a site admin, open a Live logs view for the course. Keep this view open (e.g. in a different browser). As a tutor, open a Live logs view for the course. Keep this view open (e.g. in a different browser). As a student, add a submission. As a site admin, refresh the live log view - there should be a "Submission created." event visible. As a site admin, view the logs for that assignment and student - there  should be a "Submission created." event visible. As a tutor, view the logs for that assignment and student - there should not be a "Submission created." event. As a tutor, view the logs for that assignment and student - there should be a "Submission created." event visible. Extra test: Edit the "Manager" role to Allow `moodle/site:viewanonymousevents`. Enrol a user as a Manager on the assignment's course. As the Manager, view the logs for that assignment and student - there  should be a "Submission created." event visible.
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      patch_view_anon_event_MDL-66213

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 3 minutes
                  1h 3m