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

Hidden forum's subscribers list shows participants with no access to forum

XMLWordPrintable

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • Hide
      • Prerequisites: A course with a teacher (T) and a student (S) enrolled.
      • Create a forum in the course and set its subscription mode to "forced subscription". The forum should be set to "Visible: Show".
      • Go to the forum and click "Show/edit current subscribers".
      • VERIFY: Both T and S are shown in the list.
      • VERIFY: There is no button "Turn editing on" on the top-right of the page.
      • Go to "Forum administration -> Edit settings" and set the forum to "Visible: Hide".
      • Go to the forum and click "Show/edit current subscribers".
      • VERIFY: Only T is shown in the list (not S).
      • VERIFY: There is no button "Turn editing on" on the top-right of the page.
      Show
      Prerequisites: A course with a teacher (T) and a student (S) enrolled. Create a forum in the course and set its subscription mode to "forced subscription". The forum should be set to "Visible: Show". Go to the forum and click "Show/edit current subscribers". VERIFY: Both T and S are shown in the list. VERIFY: There is no button "Turn editing on" on the top-right of the page. Go to "Forum administration -> Edit settings" and set the forum to "Visible: Hide". Go to the forum and click "Show/edit current subscribers". VERIFY: Only T is shown in the list (not S). VERIFY: There is no button "Turn editing on" on the top-right of the page.

      If a forum is set to be restricted to only users with the teacher role, the students can't see the forum. That works fine. But if the forum is set to "Forced subscription", then all the course participants are included in the subscribers list (mod/forum/subscribers.php).

      This is quite surprising for the teacher. Mailings do not actually go out to users who can't see the forum, but the teachers gets the impression that they do.

      The subscribers list should accurately reflect the participants who can access the forum.

      Replication steps:

      1. Log in as admin/teacher
      2. Navigate to a course that has students and teachers enrolled.
      3. Create a forum
        • set the subscription mode to Forced subscription
        • set the visibility to hidden
        • click Save and display
      4. Navigate to Settings > Forum admin > Show/edit current subscribers

      Expected result: Users unable to view the forum should be absent/separate/differentiated.

      Actual result: All enrolled users are subscribed and displayed in the same way.

            bostelm Henning Bostelmann
            per.. Per Hessellund Laursen
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Damyon Wiese Damyon Wiese
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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