Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9.4
-
Fix Version/s: STABLE backlog
-
Component/s: Roles / Access
-
Labels:None
-
Environment:MAMP for Moodle 1.9.4 (20090207)
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
Description
i've followed instructions documented at http://docs.moodle.org/en/Parent_role
+parent role was created
+relevant capabilities and permissions assigned
+visited student profile & assigned parent role to given parent
+added mentee block to front page
+login as parent
i was able to replicate (bug?) identified in following capability
moodle/user:readuserposts
this is to say, parent cannot view student forum posts. for more info pls refer to http://moodle.org/mod/forum/discuss.php?d=115970
I replicated the problem in 1.9.4
Here's a patch for mod/forum/lib.php
It was ignoring the cases when a 'parent' has the moodle/user:readuserposts role
Hope it helps and let me know if it works for you.