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

core_user_get_users not returning email when token user has permissions

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_35_STABLE

      Description

      A user with manager or full admin can see email addresses of all users.  However, if that same user has a token/access to the core_user_get_users call and the user you are searching has their email display set to "hide my email address", the email will not return in the call.  Since the token/user is privileged, it should return the email address

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jesse.safran Jesse Safran
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Juan Leyva, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: