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

user profile fields not shown in profile

    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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

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