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

Messaging search: course contacts are found by everyone, despite not sharing a course, nor being a contact.

XMLWordPrintable

    • MOODLE_36_STABLE
    • MDL-65023_master
    • Hide
      Prerequisites
      1. Two users (A, B).
      2. Two courses (C1, C2).
      3. Visit "Site administration > Appearance > Courses" and ensure "Teacher" is checked in "Course contacts".
      Test
      1. Log in as admin.
      2. Enrol A as a student in C1.
      3. Enrol B as a teacher in C2.
      4. Log in as A.
      5. Open the message drawer and search for B.
      Show
      Prerequisites Two users (A, B). Two courses (C1, C2). Visit "Site administration > Appearance > Courses" and ensure "Teacher" is checked in "Course contacts". Test Log in as admin. Enrol A as a student in C1. Enrol B as a teacher in C2. Log in as A. Open the message drawer and search for B.

      Messaging search:

      users having a teacher-role in any course will be found by every user, also when sharing no course. The expected behaviour would be that teachers will be found only by users participating the same course.

      Maybe it's hapenning because the "Teacher" role is one of the "Course contacts" defined in the "Site administration > Appearance >Courses".

      See also discussion at
      https://tracker.moodle.org/browse/MDL-64596

            jaked Jake Dallimore
            ichklaus Klaus Steitz
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 1 minute
                6h 1m

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