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

Adding data mapping for custom user fields

    Details

    • Testing Instructions:
      Hide

      Pre-requisite:

      1. CAS and LDAP server configured to be used with moodle
      2. Prevent account creation when authenticating" (Site administration ► Plugins ► Authentication ► Manage authentication) is not selected.

      TEST

      1. Log in as admin and create custom user profile field
      2. Map CAS and LDAP fields to be retrieved from SERVER (Site administration ► Plugins ► Authentication ► CAS server (SSO)). Make sure custom profile field is visible and you map it to valid field from LDAP
      3. Logout and try log in as user who is not in moodle, but in CAS/LDAP
      4. Make sure all mapped fields are filled, especially custom field
      5. Log out and change custom field value in LDAP.
      6. Login again with same user and check if field is updated in moodle.
      Show
      Pre-requisite: CAS and LDAP server configured to be used with moodle Prevent account creation when authenticating" (Site administration ► Plugins ► Authentication ► Manage authentication) is not selected. TEST Log in as admin and create custom user profile field Map CAS and LDAP fields to be retrieved from SERVER (Site administration ► Plugins ► Authentication ► CAS server (SSO)). Make sure custom profile field is visible and you map it to valid field from LDAP Logout and try log in as user who is not in moodle, but in CAS/LDAP Make sure all mapped fields are filled, especially custom field Log out and change custom field value in LDAP. Login again with same user and check if field is updated in moodle.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      wip-mdl-16982
    • Story Points (Obsolete):
      40
    • Sprint:
      BACKEND Sprint 1

      Description

      I'd like having the possibility to add data mapping for custom user fields when I use LDAP or DB auth modules

        Gliffy Diagrams

          Attachments

          1. auth_config.php
            10 kB
          2. auth.php
            86 kB
          3. config.html
            19 kB
          4. customfields.patch
            981 kB
          5. customprofilefield.png
            customprofilefield.png
            51 kB
          6. moodlelib.php
            356 kB
          7. patch2.patch
            13 kB

            Issue Links

              Activity

                People

                • Votes:
                  24 Vote for this issue
                  Watchers:
                  41 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Nov/13