History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

Key: MDL-8782
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Yu Zhang
Reporter: Yu Zhang
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Moodle

Some things about parent roles (roles assigned at a user context)

Created: 07/Mar/07 10:07 AM   Updated: 18/Mar/07 07:44 PM
Component/s: Roles
Affects Version/s: 1.7.2, 1.8, 1.9
Fix Version/s: 1.9, 1.8

Database: Any
Participants: Bill Burgos, Helen Foster and Yu Zhang
Security Level: None
QA Assignee: Helen Foster


 Description  « Hide
Something about parents roles...

Currently, if you go to http://localhost/moodle-17/user/view.php?id=11&course=3, parents will be forced to enrol, otherwise they could not view reports of the students under that course. I think they should not be forced to enrol, if they are just visiting the user profile page.

We possibly need a block or something to show all the user contexts the current user is assigned to, to help easy navigation otherwise it's very difficult to find the right "children".



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Bill Burgos - 07/Mar/07 01:56 PM
Hi Yu,

Just to add to what we have been discussing.

As a parent, the user will need to know the student profile page in order to see the activity tab and then the grades. This can only be done, I think, now through an HTML block on the /my/ page. This is how I did it on my site.

Also, as we discussed, the direct link to the student grade tab is the only way to see the grades for the students.

So, you idea of a block might be appropriate.

Bill

Yu Zhang - 09/Mar/07 03:37 PM
Hi bill, the new mentees block is in, I left some notes in http://moodle.org/mod/forum/discuss.php?d=57812, It's only in 1.8 and 1.9, but I think you can copy the block into your 1.7 blocks directory and it should still work. Please report bugs.

Cheers,

Yu

Helen Foster - 09/Mar/07 10:07 PM
Hi Yu,

Just tried the new mentees block in 1.8 beta+ (2007021401) and followed your set-up instructions in the forum thread. However, when logged in as a parent, following the child link in the Mentees block results in the message "The details of this user are not available to you."

Please could you let me know what to check.

Bill Burgos - 09/Mar/07 10:14 PM
Hi Helen,

I was able to to get this to work with these settings for Parent on 1.7.+:

moodle/user:viewuseractivitiesreport and

moodle/user:viewusergrades

set to 'Allow' as a minimum setting and then assign the Parent to the child.

Cheers,
Bill

Helen Foster - 09/Mar/07 10:28 PM
Hi Bill,

It's good to know that this feature is working in 1.7.

I set up a parent role by duplicating a guest role (which includes moodle/user:viewdetails set to allow) and setting moodle/user:viewuseractivitiesreport to allow too, then assigning the parent to the child.

Bill Burgos - 10/Mar/07 10:01 AM
Hi Helen,

I created the parent role from scratch, meaning I did not Allow any Legacy Role settings first. I am not sure if it makes a difference or not. I also have not tried this on 1.8, yet. So I am not sure if there is a difference.

Yu Zhang - 12/Mar/07 09:24 AM
Hi Helen!

I think it is a bug that happens when you have forceloginforprofile on. It should have been fixed now, so please update your code ;-).

Cheers,

Yu

Yu Zhang - 13/Mar/07 02:48 PM
resolving this as fixed.

Helen Foster - 18/Mar/07 07:44 PM
Thanks Yu, it's working perfectly now :-)

Information added to documentation wiki: http://docs.moodle.org/en/Parent_role