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

user_get_details: admin should be able to see description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.6, 2.3.3
    • 2.2.4, 2.2.5, 2.3.2
    • 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.

      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.

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Dan Poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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