Moodle Plugins directory: Self enrolment with capability | Moodle.org

Self enrolment with capability
Self with capability enrol plugin
Version: 1.0 (November 2022)
Author: Astor Bizard
This software is part of the Caseine project.
This software was developped with the support of the following organizations:
- Université Grenoble Alpes
- Institut Polytechnique de Grenoble
Description
The "Self with capability" enrol plugin is an enrolment method that allows users to enrol themselves in courses, under restrictions on capabilities.
It behaves like the standard self enrolment plugin, and features roughly the same options.
Additionally, Self with capability enrolment methods can be configured to require capabilities that must be held by users in order to enrol themselves into courses.
When capabilities requirement are fulfilled, it behaves like self enrolment.
When capabilities requirement are not fulfilled, users cannot enrol.
Other features
A plugin administration setting allows to completely hide enrol forms when users do not have permissions to enrol (instead of displaying forms with message explaining why it is unavailable).
Useful informations
Please note that the required capabilities set in the enrolment method setup need to be capabilities held by some users at system or course category level (as they will often not be enrolled in the course yet, so they won't have capabilities linked to their role within the course).
About plugin installation: every enrolment plugin is disabled by default upon installation. To enable it, go to <yourmoodle>/admin/settings.php?section=manageenrols.
Comments