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

user_get_details: admin should be able to see description

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.4, 2.2.5, 2.3.2
    • 2.2.6, 2.3.3
    • Web Services
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Cherry-pick MDL-34971
      phpunit core_user_external_testcase user/tests/externallib_test.php

      For 2.2, tester with web service experience required:
      a) setup the web services (see Moodledocs)
      b) call as admin, core_user_get_users_by_id() check the description is returned.

      Show
      Cherry-pick MDL-34971 phpunit core_user_external_testcase user/tests/externallib_test.php For 2.2, tester with web service experience required: a) setup the web services (see Moodledocs) b) call as admin, core_user_get_users_by_id() check the description is returned.

    Description

      In user/lib.php:get_user_details()

      Currently, sometimes, the admin is not allowed to see the user description. This is wrong as an admin always can see the description. At worst the UI can decide to not display it, but the admin can always see it.

      Attachments

        Issue Links

          Activity

            People

              jerome Jérôme Mouneyrac
              jerome Jérôme Mouneyrac
              Dan Poltawski Dan Poltawski
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              David Monllaó David Monllaó
              Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12