Category enrolments: Difference between revisions

From MoodleDocs
(→‎About category enrolments: warning re. performance problems - please amend or remove if incorrect)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
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.
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.


  <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 added to each course in the category.</p>
  <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>


==Enabling category enrolments==
==Enabling category enrolments==


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


==Settings for category enrolment==
==Enroling users to a category==


*Go to the category into which you wish to enrol users. '''Note:''' You need to have category rights (manager or administrator)
*Go to the category into which you wish to enrol users. '''Note:''' You need to have category rights (manager or administrator)
Line 17: Line 17:
[[File:Categoryassign.png]]
[[File:Categoryassign.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 ''Site administration > Accounts > Users > Permissions > Define roles > Allow role assignments.''
'''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]]


==See also==


* MDL-23840 Assigning roles to course category level seems broken
[[ja:カテゴリ登録]]
[[de:Kursbereichseinschreibung]]
[[de:Kursbereichseinschreibung]]
[[es:Inscripciones a categoría]]
[[es:Inscripciones a categoría]]
[[it:Iscrizioni di categoria]]
[[ja:カテゴリ登録]]

Latest revision as of 08:04, 15 May 2020

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.

Enroling users to a category

  • Go to the category into which you wish to enrol users. Note: You need to have category rights (manager or administrator)
  • In the Administration block,click Assign roles. The list of possible roles you can assign will appear:

Categoryassign.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