Smart Learn
Lead maintainer
Parent Assignment Local Plugin
Description
This Moodle local plugin automatically assigns a "Parent" role to a user based on custom profile fields
(parent_email, parent_name) in the student’s account. If the parent account does not exist, it is automatically
created.
Requirements
Moodle 4.1 or later.
Custom User Profile Fields:
parent_email (Text input)
parent_name (Text input)
A Role with the shortname parent (or configured otherwise in code).