Moodle

Teachers cannot access and analyse the students "Activity Reports".

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7
  • Fix Version/s: 1.7.2, 1.8
  • Component/s: Other
  • Labels:
    None
  • Environment:
    Windows and Internet Explorer
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE

Description

The teachers cannot access and analyse the students "Activity Reports" including the flowing menus: "OutLine Report"; "Complete Report"; Today´s Logs"; "All Logs" and "Grade".

Follow these steps to replicate the bug:
1 - Select "Participants" in the Block "People".
2 - Select one student.

Bug: The "Activity Reports" option is not available.
This option is essential for the teacher for it allows him to consult the activities made by students in the Moodle.

Activity

Hide
Lluisa Nunez added a comment -

In fact, there is a way the teacher can view Activity Reports: from "Participants" menu, select "More Detailed" and click on "Activity". You get the "Todays Hits" screen, but without the other options

Admins can view all Activity Reports, but not teachers with admin roles in a course

Show
Lluisa Nunez added a comment - In fact, there is a way the teacher can view Activity Reports: from "Participants" menu, select "More Detailed" and click on "Activity". You get the "Todays Hits" screen, but without the other options Admins can view all Activity Reports, but not teachers with admin roles in a course
Hide
Ray Lawrence added a comment -

Having this problem too. Even when the teachers are re-assigned as Admins in course, category aand site level they still cannot see the today & all logs and outline and complete reports when the Activity link is clicked.

Works fine on a site upgraded from 1.6.3+ but not on a clean install.

Show
Ray Lawrence added a comment - Having this problem too. Even when the teachers are re-assigned as Admins in course, category aand site level they still cannot see the today & all logs and outline and complete reports when the Activity link is clicked. Works fine on a site upgraded from 1.6.3+ but not on a clean install.
Hide
Shane Elliott added a comment -

I've just come across this issue too. I suspect it is a problem with contexts. The "Activity Reports" tab can be shown with the following patch to user/tabs.php

RCS file: /cvsroot/moodle/moodle/user/tabs.php,v
retrieving revision 1.24.2.6

      • 147,150 ****
        ! if (has_capability('moodle/user:viewuseractivitiesreport', $personalcontext) || ($course->showreports and $USER->id == $user->id)) {
      • 147,150 ----
        ! if (has_capability('moodle/user:viewuseractivitiesreport', $coursecontext) || ($course->showreports and $USER->id == $user->id)) {

However I'm not 100% on roles - MD?

Show
Shane Elliott added a comment - I've just come across this issue too. I suspect it is a problem with contexts. The "Activity Reports" tab can be shown with the following patch to user/tabs.php RCS file: /cvsroot/moodle/moodle/user/tabs.php,v retrieving revision 1.24.2.6
      • 147,150 **** ! if (has_capability('moodle/user:viewuseractivitiesreport', $personalcontext) || ($course->showreports and $USER->id == $user->id)) {
      • 147,150 ---- ! if (has_capability('moodle/user:viewuseractivitiesreport', $coursecontext) || ($course->showreports and $USER->id == $user->id)) {
However I'm not 100% on roles - MD?
Hide
Martin Dougiamas added a comment -

This seems to have been fixed some time ago, looking at the code.

Show
Martin Dougiamas added a comment - This seems to have been fixed some time ago, looking at the code.

People

Vote (5)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: