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

get_complete_user_data() can potentially fetch data in an unreliable way

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 3.5.4
    • Fix Version/s: None
    • Component/s: User management
    • Labels:

      Description

      If we're fetching by email and the site allows multiple accounts using the same email to be used, then get_complete_user_data() might return another user's information.

      I think that we should either throw an exception when this happens, or we make it return false.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                jpataleta Jun Pataleta
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h