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

core_user_get_users_by_field doesn't always find by email unless moodle/site:viewuseridentity is allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.7.1, 3.7.2
    • Web Services
    • MOODLE_37_STABLE

      Finding a user by email doesn't work unless the user has set their profile to "Allow everyone to see my email address". The webservice needs an additional permission: moodle/site:viewuseridentity. If this expected behaviour then either the additional permission should be listed as a dependency when adding the function, or the limitation should be documented.

            Unassigned Unassigned
            edwardsph Pete Edwards
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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