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

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65023_master

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jaked Jake Dallimore
              Reporter:
              ichklaus Klaus Steitz
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              7 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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