Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: Cohort enroller.

Cohort enroller: Difference between revisions

From MoodleDocs
(adding info)
(added screenshots)
Line 10: Line 10:
#Filter to see entries connected with "cohort" and allow them all.
#Filter to see entries connected with "cohort" and allow them all.
#Click the "Create this role" button.
#Click the "Create this role" button.
{|
| [[File:createcohortrole.png|thumb|Creating a new custom role]]
| [[File:cohortcapabilities.png|thumb|Setting capabilities]]
|}


==Assigning the role to a teacher==
==Assigning the role to a teacher==
Line 15: Line 20:
#In ''Settings>Assign roles'', assign the role of Cohort enroller to the required course teacher.
#In ''Settings>Assign roles'', assign the role of Cohort enroller to the required course teacher.
#When the teacher returns to their course, they will be able to add the "cohort sync" method in ''Settings>Course administration>Enrolment methods'' and will also see the "Enrol cohort" button in ''Settings>Course administration>Users>Enrolled users.''
#When the teacher returns to their course, they will be able to add the "cohort sync" method in ''Settings>Course administration>Enrolment methods'' and will also see the "Enrol cohort" button in ''Settings>Course administration>Users>Enrolled users.''
{|
| [[File:cohortcategoryassign.png|thumb|Assigning the role in the category context]]
| [[File:cohortsynccohortenroller.png|thumb|Teacher can now add cohort sync method]]
| [[File:categorycohortsonly.png|thumb|They can only add cohorts from their own category]]
|}

Revision as of 13:35, 11 October 2012

The role of cohort enroller may be given to a regular editing teacher to allow them to enrol cohorts into their course.

Despite appearances to the contrary, teachers cannot enrol cohorts either via Settings>Course administration>users>Enrolment methods or Settings>Course administration>Users>Enrolled users. See Capabilities/enrol/cohort:config

This custom role will permit teachers to enrol category cohorts into their course. This means therefore that a Head of Science Faculty could enrol cohorts for Biology, Physics and Chemistry courses while not having access to cohorts from other faculties.

Creating a new role

  1. As an administrator, go to Settings>Site administration>Users>Permissions>Define roles and click the "Add a new role" button.
  2. Give the role a name and assign it to the category context.
  3. Filter to see entries connected with "cohort" and allow them all.
  4. Click the "Create this role" button.
Creating a new custom role
Setting capabilities

Assigning the role to a teacher

  1. As an administrator, go to the category page, for example http://YOURMOODLESITE/course/category.php?id=1
  2. In Settings>Assign roles, assign the role of Cohort enroller to the required course teacher.
  3. When the teacher returns to their course, they will be able to add the "cohort sync" method in Settings>Course administration>Enrolment methods and will also see the "Enrol cohort" button in Settings>Course administration>Users>Enrolled users.
Assigning the role in the category context
Teacher can now add cohort sync method
They can only add cohorts from their own category