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

user_get_details: admin should be able to see description

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4, 2.2.5, 2.3.2
    • Fix Version/s: 2.2.6, 2.3.3
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12