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

Add "test database setup" to the "External Database" enrollment and authentication plugins

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.9, 1.9.1, 1.9.2, 2.5
    • 2.6
    • Authentication, Enrolments
    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • w41_MDL-16073_m26_extdbtest
    • Hide
      1. go to admin -> plugins -> auth plugins -> overview
      2. Enable the Database plugin
      3. try the new "Test settings" link next to db auth - you should see errors
      4. fix the settings and execute test again
      5. repeat for external DB enrolments
      Show
      go to admin -> plugins -> auth plugins -> overview Enable the Database plugin try the new "Test settings" link next to db auth - you should see errors fix the settings and execute test again repeat for external DB enrolments
    • 4
    • BACKEND Sprint 5

    Description

      It is hard to test whether the administrative panel for External Database Authentication and for External Database Enrollment is configured correctly. Currently, you have to create fake user accounts or similar, and try to authenticate them or enroll them and see if they receive email, etc. (At least, that's how I tested it! Does someone have a better way?)

      It woule be nice to have a "Test Connection" button on that page which goes through and makes sure all the db info (username, password, connection, etc.) and data mapping is correct. AND prints out all this stuff to the screen in an easy-to-read report.

      Thank you!

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              jsilve1 Jeffrey Silverman
              Sam Hemelryk Sam Hemelryk
              Andrew Lyons Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13