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

Posts moved by Teachers are not assigned to any group (neither the mover or the original poster's) when moved to another forum and so are visible to all

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.4, 2.0.6, 2.1.3, 2.2
    • 2.1.4, 2.2.1
    • Forum
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • wip-MDL-18128-master-version3
    • Hide

      0. Assign students to separate groups
      1. Create two forums, one an open forum and the other a separate group forum.
      2. Create a post in the open forum as a student
      3. Log in as teacher/admin and move post to group forum
      4. Post is visible to all students, both the original student's group members and students from other groups

      testing instructions for the fix:
      1) Follow the above instructions.
      2) Log in as the teacher/admin and edit the discussion (First post). Test: If you are a teacher/admin you should see a drop down menu for group.
      3) Change the group and click save changes.
      4) Log in as a student of one group and check if you can see the discussion. Test: if you are of the wrong group and the group setting is 'separate group' then you shouldn't see the discussion.
      5) Log in as a student of the opposite group and check if you can see the discussion. Test: if you are of the same group you should be able to see the discussion.
      6) log in and create a discussion as a student. Test: make sure that the group section is only text and not a drop down box.

      Show
      0. Assign students to separate groups 1. Create two forums, one an open forum and the other a separate group forum. 2. Create a post in the open forum as a student 3. Log in as teacher/admin and move post to group forum 4. Post is visible to all students, both the original student's group members and students from other groups testing instructions for the fix: 1) Follow the above instructions. 2) Log in as the teacher/admin and edit the discussion (First post). Test: If you are a teacher/admin you should see a drop down menu for group. 3) Change the group and click save changes. 4) Log in as a student of one group and check if you can see the discussion. Test: if you are of the wrong group and the group setting is 'separate group' then you shouldn't see the discussion. 5) Log in as a student of the opposite group and check if you can see the discussion. Test: if you are of the same group you should be able to see the discussion. 6) log in and create a discussion as a student. Test: make sure that the group section is only text and not a drop down box.

    Description

      If you set up a forum with invisible groups you expect posts to be hidden from those in other groups. If you move posts between forums then this fails and posts become fully public to members of any group or those not in any group.

      Attachments

        Issue Links

          Activity

            People

              abgreeve Adrian Greeve
              bawjaws David Scotson
              Rajesh Taneja Rajesh Taneja
              Sam Hemelryk Sam Hemelryk
              Jason Fowler Jason Fowler
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/12