Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41389

The auth/db authentication plugin should trigger the user_created/updated event

    XMLWordPrintable

    Details

    • Testing Instructions:
      1. Run the unit tests in auth/db/tests/db_test.php and auth/db/tests/events_test.php; ensure all passes.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Epic Link:
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 14

      Description

      Summary

      Handling events is a great way to tap into Moodle to extend some of it parts. I need to add some logic to authorization process. Moodle instance I work on uses two auth plugins: db and ldap.

      LDAP already provide events when users are created. I'd like to extend db plugin to do the same.

      ToDo

      Extend auth/db to emit event on user creation.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jul/14