Parent role

Revision as of 09:09, 11 April 2011 by Aparup Banerjee (talk | contribs) (Role set-up)

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Parent role.

The role of Parent may be used to provide parents/mentors/tutors with permission to view certain information, such as activity reports, grades, blog entries and forum posts, about their children/mentees/tutees.

Role set-up

  1. Access Administration > Users > Permissions > Define roles
  2. Click the button "Add a new role"
  3. Give the role a name e.g. Parent, short name and description
  4. From 2.0 onwards, We need to check the 'User' checkbox in 'Context types where this role may be assigned'
  5. Change moodle/user:viewdetails to allow - this item is listed within the 'Course' section in 1.9
  6. Change any/all of the following capabilities to allow
  7. Click the button "Add a new role"

Role assignment

  1. Access the child's profile page and click on the Roles tab i.e. assign the role in the user context
  2. Choose the role to assign i.e. Parent
  3. Select the parent in the potential users list, and use the left-facing arrow button to add it to the existing users list

The same parent may be assigned to several children.

Adding multiple role assignments at once

(if you are interested in assigning several parent roles en masse read the discussion at

Mentees block


The Mentees block provides a parent with quick access to their child's profile page via a link on the site front page.

  1. On the site front page click "Turn editing on"
  2. Choose Mentees from the Add a block drop-down menu
  3. If required, give the Mentees block a title by following the block configuration/edit link

Viewing activity reports

If the capability moodle/user:viewuseractivitiesreport is set to allow then a parent/mentee may view their student's activity reports and grades via the student's Profile.

On the main Profile page, there will be a list of courses. Clicking on a course title will select that course. Then, under the Activities tab, the various report and grades sub-tabs will display information relevant to the selected course. You can easily change which course you are reviewing by selecting another one on the main Profile tab.

One small hack that can make the course list a bit more readable, especially for long course lists, is to change the format to a vertical list:

  • Edit the moodle/user/view.php file and look for these lines (around line 349 in my 1.9.9 installation):
. format_string($mycourse->fullname) . "</a>, ";
else {
$courselisting .= format_string($mycourse->fullname) . ", ";
  • and change that to :
. format_string($mycourse->fullname) . "</a><br>";
else {
$courselisting .= format_string($mycourse->fullname) . "<br>";;
  • Then save

See also