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

Add ability to match users by email when upload users from csv file

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-74592-master
    • Hide
      1. Create some users on your site
      2. Navigate to "Site administration" > "Users" > "Upload users"
      3. Download the example CSV file and modify it:
      4. Add have some entries that:
        • Correspond to email addresses for the users in step 1
        • Have different first names and last names to the users from step 1
      5. Press "Upload users"
      6. Set "Upload type" to "Update existing users only"
      7. Set "Existing user details" to "Override with file" (it appears after you set upload type)
      8. "Match on email address" to "Yes"
      9. Press "Upload users"
      10. Verify the users are shown as updated in the table
      11. Navigate to "Site administration" > "Users" > "Browse a list of users" and verify the users were updated
      12. Navigate to "Site administration" > "Plugins" > "Authentication" > "Manage authentication" and under "Common settings" turn on " Allow accounts with same email "
      13. Edit one of the user accounts to have the same email as another one
      14. Edit the CSV, modifying the row having the email address associated with the two students (change the first name or last name to something new)
      15. Repeat the process of uploading the CSV
      16. Verify a warning is displayed for the row with the email that maps to multiple users and that those users are not updated
      Show
      Create some users on your site Navigate to "Site administration" > "Users" > "Upload users" Download the example CSV file and modify it: Add have some entries that: Correspond to email addresses for the users in step 1 Have different first names and last names to the users from step 1 Press "Upload users" Set "Upload type" to "Update existing users only" Set "Existing user details" to "Override with file" (it appears after you set upload type) "Match on email address" to "Yes" Press "Upload users" Verify the users are shown as updated in the table Navigate to "Site administration" > "Users" > "Browse a list of users" and verify the users were updated Navigate to "Site administration" > "Plugins" > "Authentication" > "Manage authentication" and under "Common settings" turn on " Allow accounts with same email " Edit one of the user accounts to have the same email as another one Edit the CSV, modifying the row having the email address associated with the two students (change the first name or last name to something new) Repeat the process of uploading the CSV Verify a warning is displayed for the row with the email that maps to multiple users and that those users are not updated

      Would be useful to be able to optionally match users by emails when uploading them from CSV in case if allowaccountssameemail is set to no.

        1. 16_MDL-74592.png
          16_MDL-74592.png
          80 kB
        2. 11_MDL-74592.png
          11_MDL-74592.png
          74 kB
        3. 10_MDL-74592.png
          10_MDL-74592.png
          92 kB

            cameron1729 cameron1729
            dmitriim Dmitrii Metelkin
            Tomo Tsuyuki Tomo Tsuyuki
            Andrew Lyons Andrew Lyons
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 13 minutes
                1h 13m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.