Capabilities/enrol/cohort:config: Difference between revisions
From MoodleDocs
Mary Cooch (talk | contribs) (someone please check this for accuracy:)) |
Helen Foster (talk | contribs) (cap fix as mentioned in MDL-46924) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Capabilities}} | {{Capabilities}} | ||
*This allows a user to add the [[Cohort sync]] enrolment plugin to a course via ''Settings>Course administration>Users>Enrolment methods'' | *This allows a user to add the [[Cohort sync]] enrolment plugin to a course via ''Settings > Course administration > Users > Enrolment methods'' (provided that it has been enabled by admin in ''Settings > Site administration > Plugins > Enrolments > Manage enrol plugins'') | ||
*The default roles of [[Manager]] and[[ Teacher]] have this set to allow. | *The default roles of [[Manager]] and[[ Teacher]] have this set to allow. | ||
'''NOTE:''' By default, a teacher cannot add the [[Cohort sync]] plugin to their course. It needs to be configured by an Administrator or a user with the Manager role. | |||
The required capabilities for setting up a cohort sync are: | The required capabilities for setting up a cohort sync are: | ||
*moodle/course:enrolconfig in the course context | |||
*enrol/cohort:config in the course context | |||
*moodle/cohort:view in the same context as cohort | |||
moodle/course: | The required capabilities for manually enrolling cohort members are the same as cohort sync (note: this is a bug MDL-28431) | ||
*enrol/manual:enrol in course context | |||
*moodle/course:enrolreview in course context | |||
==See also== | |||
*[[Cohorts]] | |||
*[[Cohort enroller]] role | |||
[[Category:Capabilities|Enrol]] | |||
[[Category:Capabilities]] | |||
[[Category:Enrolment]] | [[Category:Enrolment]] |
Latest revision as of 06:53, 21 August 2014
- This allows a user to add the Cohort sync enrolment plugin to a course via Settings > Course administration > Users > Enrolment methods (provided that it has been enabled by admin in Settings > Site administration > Plugins > Enrolments > Manage enrol plugins)
- The default roles of Manager andTeacher have this set to allow.
NOTE: By default, a teacher cannot add the Cohort sync plugin to their course. It needs to be configured by an Administrator or a user with the Manager role.
The required capabilities for setting up a cohort sync are:
- moodle/course:enrolconfig in the course context
- enrol/cohort:config in the course context
- moodle/cohort:view in the same context as cohort
The required capabilities for manually enrolling cohort members are the same as cohort sync (note: this is a bug MDL-28431)
- enrol/manual:enrol in course context
- moodle/course:enrolreview in course context
See also
- Cohorts
- Cohort enroller role