Category enrolments: Difference between revisions

From MoodleDocs
(changing Settings to Administration)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Enrolment}}
{{Enrolment}}
==About category enrolments==


The category enrolments plugin allows users to be enrolled in a category as opposed to individual courses. The plugin has to be enabled by the site administrator (see [[Enrolment plugins]]). The category enrolment plugin will synchronise any role assignments at category context with the capability [[Capabilities/enrol/category:synchronised|enrol/category:synchronised]] set to allow.
The category enrolments plugin allows users to be enrolled in all courses within a category. The plugin will synchronise any role assignments at category context with the capability [[Capabilities/enrol/category:synchronised|enrol/category:synchronised]] set to allow.


Note: It is recommended that [[Cohort sync]] is used in preference to category enrolments.  There are performance issues with category enrolments. See http://tracker.moodle.org/browse/MDL-23840.
<p class="alert alert-warning">'''Warning:''' The use of the category enrolments plugin may cause performance problems. If so, it is recommended that you use [[Cohort sync]] instead, though this will require a cohort sync enrolment method to be added to each course in the category.</p>


==Settings for category enrolment==
==Enabling category enrolments==


*Go to the category into which you wish to enrol users. '''Note:''' You need to have category rights (manager or administrator)
To use category enrolments, it must be enabled by an administrator in 'Manage enrol plugins' in the Site administration.


*In the ''Administration'' block,click ''Assign roles''. The list of possible roles you can assign will appear:
==Enrolling users to a category==
[[File:Categoryassign.png]]
*Make sure 'category' is selected as a context for the role from Site administration > Users > Define roles.
*From Site administration > Courses > Manage courses and categories, find the category into which you wish to enrol users. '''Note:''' You need to have category rights (manager or administrator)
*Click the dropdown arrow next to the chosen category and then click Permissions


== Admin settings for category enrolment==
[[File:Categoryenrol1.png|framele|center]]


The category enrolment plugin may be enabled or disabled throughout the site in ''Administration > Site administration > Plugins > Enrolments> Manage enrol plugins.''
*From Permissions click the dropdown arrow and select Assign roles.
 
[[File:CategoryEnrol2.png|frame|center]]
 
'''NOTE:''' The roles you see here are roles which have been assigned at the category context and which you are able to assign i.e. the role has been checked in 'Define roles > Allow role assignments' in the Site administration.


===Assigning teachers or students to a category===
===Assigning teachers or students to a category===


*By default, only managers and course creators can be assigned category-wide. If you want to add teachers or students then the site administrator needs to tick the "category" box in their role in ''Administration > Site administration > Users > Permissions > Define roles''.
*By default, only managers and course creators can be assigned category-wide. If you want to add teachers or students then the site administrator needs to tick the "category" box in their role in 'Define roles' in the Site Administration.
*To ensure they will be automatically assigned as teachers/students in any new courses you make, the administrator needs to set to "allow" the capability  [[Capabilities/enrol/category:synchronised|enrol/category:synchronised]] for the role in question in ''Administration > Site Administration > Users > Permissions > Define roles''.
*To ensure they will be automatically assigned as teachers/students in any new courses you make, the administrator needs to set to "allow" the capability  [[Capabilities/enrol/category:synchronised|enrol/category:synchronised]] for the role in question in 'Define roles'.


[[File:Enrolcategorysync.png]]
[[File:Enrolcategorysync.png]]
Line 25: Line 32:
[[ja:カテゴリ登録]]
[[ja:カテゴリ登録]]
[[de:Kursbereichseinschreibung]]
[[de:Kursbereichseinschreibung]]
[[es:Inscripciones a categoría]]
[[fr:Inscription par catégories]]

Latest revision as of 10:52, 24 May 2022

About category enrolments

The category enrolments plugin allows users to be enrolled in all courses within a category. The plugin will synchronise any role assignments at category context with the capability enrol/category:synchronised set to allow.

Warning: The use of the category enrolments plugin may cause performance problems. If so, it is recommended that you use Cohort sync instead, though this will require a cohort sync enrolment method to be added to each course in the category.

Enabling category enrolments

To use category enrolments, it must be enabled by an administrator in 'Manage enrol plugins' in the Site administration.

Enrolling users to a category

  • Make sure 'category' is selected as a context for the role from Site administration > Users > Define roles.
  • From Site administration > Courses > Manage courses and categories, find the category into which you wish to enrol users. Note: You need to have category rights (manager or administrator)
  • Click the dropdown arrow next to the chosen category and then click Permissions
framele
  • From Permissions click the dropdown arrow and select Assign roles.
CategoryEnrol2.png

NOTE: The roles you see here are roles which have been assigned at the category context and which you are able to assign i.e. the role has been checked in 'Define roles > Allow role assignments' in the Site administration.

Assigning teachers or students to a category

  • By default, only managers and course creators can be assigned category-wide. If you want to add teachers or students then the site administrator needs to tick the "category" box in their role in 'Define roles' in the Site Administration.
  • To ensure they will be automatically assigned as teachers/students in any new courses you make, the administrator needs to set to "allow" the capability enrol/category:synchronised for the role in question in 'Define roles'.

Enrolcategorysync.png