forked from eSrem/moodle-auth_enrolmentor
-
Notifications
You must be signed in to change notification settings - Fork 0
moonami/moodle-auth_enrolmentor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Within a big organisation we will work with managers who need an overview of learner progress. They will be assigned a parent role inside the user context. Sadly current mass role assignment plugins do not offer us the exact functionality we require to operationalise the intended business process. Therefore I have stripped apart auth_mcae and enrol_mentor to form auth_enrolmentor. This plugin hooks into the user_authenticated event and then checks who the user is managing. The plugin then assigns the logged in user to his employees using the role as defined in the settings. Logic in the plugin is based on comparing a value of a custom profile field to either username, email or id. This is configurable inside the settings. Installation: - Unzip the plugin to yourmoodle/auth and follow installation instructions on ./admin/index.php - If not already present, create a custom profile field that is going to contain either the username, email address or id of the parent/mentor/manager. - Fill your profile fields using your preferred method. For instance: CSV. - Enable the plugin. When users log in and they are a manager in someone's profile, they will be automatically enrolled.
About
Auto enrol mentors, parents or managers based on a custom profile field.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%