Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3938

Plugin to assign mentor/mentee role from LDAP or DB

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Hi,

      I adapted an existing plugin (http://cvs.moodle.org/contrib/plugins/enrol/dbuserrel/) to Moodle 2.3. As far as I know, it has never been submitted to the community.

      This plugin allows you to configure automatic role assignment between users from a database (ex: mentor/mentee or parent/child).

      The code can be found here:
      https://github.com/maxCSA/moodle-enrol_dbuserrel

      I also created another flavor of this plugin which read source information from LDAP (inspired by enrol_ldap):
      https://github.com/maxCSA/moodle-enrol_ldapuserrel

      For both plugins, it (1) adds role assignment in "role_assignments" table, (2) validates that mentor and mentee exist in Moodle, (3) deletes old mentor-mentee assignment.

      Installation instructions can be found in README file.

        Attachments

          Activity

            People

            Assignee:
            aborrow Anthony Borrow
            Reporter:
            maxcsa Maxime Pelletier
            Participants:
            Component watchers:
            Anthony Borrow
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: