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

Custom profile fields should be syncable with external DB auth

    XMLWordPrintable

Details

    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • MDL-43415-master
    • Hide

      1. Setup some custom profile fields (at least one of each type: text, textarea, date...)
      2. Setup moodle to use authentification with external DB.
      3. Setup auth module to take all custom profile fields from external DB source.
      4. Login with user, having such fields filled in external DB.
      5. Check for custom profile fields were updated.
      6. Setup auth module to update all custom fields in external source.
      7. Update all custom fields and check if they are updated in external source.
      8. Setup auth module to block editing of this fields.
      9. Check user cannot edit them.

      Show
      1. Setup some custom profile fields (at least one of each type: text, textarea, date...) 2. Setup moodle to use authentification with external DB. 3. Setup auth module to take all custom profile fields from external DB source. 4. Login with user, having such fields filled in external DB. 5. Check for custom profile fields were updated. 6. Setup auth module to update all custom fields in external source. 7. Update all custom fields and check if they are updated in external source. 8. Setup auth module to block editing of this fields. 9. Check user cannot edit them.

    Description

      Currently custom user profile fields can be taken from LDAP source. The sma should be for external DB. Compare last line in config.html for this auth plugin's, DB plugin does not use $this->get_custom_user_profile_fields() in call to print_auth_lock_options(). Maybe some other auth plugin's that uses print_auth_lock_options should be able to change custom fields too.

      Attachments

        Issue Links

          Activity

            People

              vadimon Vadim Dvorovenko
              vadimon Vadim Dvorovenko
              Zachary Durber Zachary Durber
              David Monllaó David Monllaó
              Ankit Agarwal Ankit Agarwal
              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:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15