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

user profile fields not shown in profile

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as a student (A), go and edit your profile and Add idnumber,address,phone,mobile phone,department and institution
      2. Login as teacher (Teacher at system level and doesnt have site:viewuseridentity capability) (B) and visit student A's profile (profile.php not course profile) and make sure you cannot see any of these fields.
      3. Now login as admin and give B the capability site:viewuseridentity
      4. Search for setting showuseridentity and check a few fields
      5. log back as user B and go to A's profile and make sure you can see the fields that you checked in step above.
      Show
      Login as a student (A), go and edit your profile and Add idnumber,address,phone,mobile phone,department and institution Login as teacher (Teacher at system level and doesnt have site:viewuseridentity capability) (B) and visit student A's profile (profile.php not course profile) and make sure you cannot see any of these fields. Now login as admin and give B the capability site:viewuseridentity Search for setting showuseridentity and check a few fields log back as user B and go to A's profile and make sure you can see the fields that you checked in step above.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-26882-master

      Description

      If there is an entry in the user profile field, the entries is not shown in profile, not for the user, not for admins.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ralfh Ralf Hilgenstock
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Sam Hemelryk
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/12