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

Capability is not checked in Course participation report to show anonymous log rows

XMLWordPrintable

    • 3
    • Team Alpha - Sprint 3 I1-2025

      In anomoyous assignments logging of student actions is hidden by a parameter in the database anonymous = 0 to prevent staff from unmasking students via reports and other means.  A capability was added moodle/site:viewanonymousevents to the system but this is never checked in the Course participation reports.  The logic is hard coded in /reports/participation/index.php

       

       

      This needs to be modified to provide a check on the capability and display the appropriate lines if the user possesses this capability.  

       

      It appears a similar issues exists for admins in other areas (see linked issue MDL-71094) which will required the same approach.

        1. 84539 dev test - anonymous assignment - as admin.png
          81 kB
          Andrew Gosali
        2. 84539 dev test - anonymous assignment - as teacher.png
          79 kB
          Andrew Gosali
        3. 84539 dev test - non-anonymous assignment - as admin.png
          95 kB
          Andrew Gosali
        4. 84539 dev test - non-anonymous assignment - as teacher.png
          94 kB
          Andrew Gosali
        5. image-2025-02-20-09-22-56-128.png
          72 kB
          Brett Dalton
        6. MDL-84539.png
          168 kB
          Ron Carl Alfon Yu

            andrew.gosali@moodle.com Andrew Gosali
            dragos5436 dragos5436
            Mihail Geshoski Mihail Geshoski
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 5 minutes
                7h 5m

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