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

moodle/user:viewalldetails should be available to Teacher role in the Course context

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.2, 2.7.3
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:
    • Environment:
      N/A
    • Testing Instructions:
      Hide

      1. Create custom fields in the user sign-up form and make them visible to EVERYONE.
      2. Create a new user and include information in the custom fields
      3. Assign the new user as a student in a new course
      4. Assign another user as the Teacher role in that course and login as the Teacher
      5. Go to Navigation --> [Course] --> Participants and click on the student's name
      6. Basic details of the student's profile are visible, but the custom fields are hidden. There is no "Full profile" link that would reveal them.

      Show
      1. Create custom fields in the user sign-up form and make them visible to EVERYONE. 2. Create a new user and include information in the custom fields 3. Assign the new user as a student in a new course 4. Assign another user as the Teacher role in that course and login as the Teacher 5. Go to Navigation --> [Course] --> Participants and click on the student's name 6. Basic details of the student's profile are visible, but the custom fields are hidden. There is no "Full profile" link that would reveal them.
    • Workaround:
      Hide

      Add the Teacher role to the menu of System roles and assign users to the System:Teacher role in addition to assigning them to Course:Teacher.

      Show
      Add the Teacher role to the menu of System roles and assign users to the System:Teacher role in addition to assigning them to Course:Teacher.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_27_STABLE

      Description

      The Teacher role in courses should be able to view a student's full profile. However, the moodle/user:viewalldetails permission appears to be available only to users who have been assigned the Teacher role at the System context. This seems a bit overwrought. Hiding student profile details from a course teacher prevents the teacher from seeing any custom user fields created by the institution, as well as doubling the amount of work needed to properly assign a user as a teacher in a course (they need to be assigned both at the system level and at the course level).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: