Issue Details (XML | Word | Printable)

Key: MDL-8053
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: Diana Caldeirinha
Votes: 5
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 03/Jan/07 06:24 PM   Updated: 16/Apr/07 10:16 AM
Component/s: Other
Affects Version/s: 1.7
Fix Version/s: 1.7.2, 1.8

Environment: Windows and Internet Explorer

Participants: Diana Caldeirinha, Lluisa Nunez, Martin Dougiamas, Ray Lawrence and Shane Elliott
Security Level: None
Resolved date: 16/Apr/07
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE


 Description  « Hide
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.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Lluisa Nunez added a comment - 17/Jan/07 05:05 AM
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


Ray Lawrence added a comment - 18/Jan/07 06:08 PM
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.


Shane Elliott added a comment - 27/Feb/07 10:23 PM
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?


Martin Dougiamas added a comment - 16/Apr/07 10:16 AM
This seems to have been fixed some time ago, looking at the code.