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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.4, 2.0.6, 2.1.3, 2.2
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-18128-master-version3

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jan/12