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

Forum module should use 'mod/forum:viewdiscussions' to determine who receives emails for force-subscribed forums, NOT 'mod/forum:initialsubscription'

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 1.9.4
    • Forum
    • None
    • MySQL
    • MOODLE_19_STABLE
    • Easy

      The forum module in Moodle 1.9.4+ (Build: 20090415) uses the 'mod/forum:initialsubscriptions' capability to determine who gets sent emails in forums that are force-subscribed - see function forum_get_potential_subscribers() called by function forum_subscribed_users() in mod/forum/lib.php around line 2502.

      The way the module currently works, it is impossible for an admin or teacher to prevent users from subscribing themselves while allowing them to view discussions (and receive emails). The natural way to do that would be to use the 'mod/forum:viewdiscussion' capability to determine people who get to see or view postings in force-subscribe forums.

      It would appear more natural to use the 'mod/forum:viewdiscussions' to control users who get emails.

      I would like to suggest that the potential subscribers for a force-subscribe forum should be users with the 'mod/forum:viewdiscussions' capability.

      Thanks,
      Muyi

            moodle.com Moodle HQ
            muyiwataiwo Olumuyiwa Taiwo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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