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

core_user_get_users and core_user_get_users_by_field should not respect the maildisplay settings of a user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.7.1
    • Web Services
    • None

      1. Use webservice core_user_get_users and core_user_get_users_by_field to get the details of a user who has set in his/her profile 'allow only other course members to see my email address'

      2. View the result. Even with full admin rights for the webservice user their will be no Email address in the result.

      Now, change the profile of the user to 'allow everyone to see my email address'.

      Repeat step 1 and you will get the email address in the result.

      ------

      It could be that this is by design or it could be a bug. What happens here is if external systems try to maintain the user accounts in your Moodle system, you can not update the mail address of the user (this could be necessary with marriages, divorces or deaths of partners)

      For maintaining user accounts this is a problem.

       

            Unassigned Unassigned
            elodelta Richard van Iwaarden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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