Moodle Plugins directory: User role assignment from external database | Moodle.org
User role assignment from external database
If you need to massively assign user role like Parent or Mentor, this plugin will help you.
Based on an external table containing the Parent-child or Mentor-Mentee relationship, this plugin will add new relationship and also remove old ones.
For more details go to: http://docs.moodle.org/23/en/DB_User_role_assignment
Could you consider adding urls for :
- issue tracker
- documentation (if any)
If you do, let me know,
-Integrate the pull request from github to allow assigning of role on user login (no cron job required): https://github.com/mfuhrmeisterDM/moodle-enrol_dbuserrel/commit/97621be22aefdc11bec10ebb135ef9f8656fd0d5
-Integrate second pull request to allow mixed-case column names in the external database table: https://github.com/primmy13/moodle-enrol_dbuserrel/commit/df9e542903168315ce68211a567bd2b12ad2951b
-Derek