-
New Feature
-
Resolution: Fixed
-
Critical
-
2.2.3, 2.3, 2.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
wip-mdl-33166
-
In Moodle 2.2 the capability "mod/forum:initialsubscriptions" was removed to resolve this issue: MDL-30151
However, that causes problems, because people relied on that capability to prevent certain roles from receiving emails from auto-subscribed forums (MDL-31481 and MDL-33050).
Add this capability so user who don't have this capability should not be auto-subscribed to forum. (Both for force subscribe or auto subscribe.)
original description.
I resolve these problems I have created a new capability called mod/forum:receivemail. It acts similar to the other email specified capabilities such as:
- mod/quiz:emailconfirmsubmission
- mod/quiz:emailnotifysubmission
- mod/feedback:receivemail
If a user does not have a role with that capability set to Allow, then they will:
- Not be sent email (either digest or per post) if they are associated with a forum that sends out to subscribers
- Not have "Subscribe me to this forum" link in the nav block
However, there is an issue in which that user will appear in the list of subscribed users for auto-subscribed forums, because there isn't a clean way to filter them out. But I hope that isn't a big deal or if someone else can figure out how to do that cleanly.
- caused a regression
-
MDL-35607 Email fails with frontpage Forum
- Closed
-
MDL-37633 Digest emails of Forum do not work when upgrade to 2.3.3 and 2.3.4 from 2.3.2
- Closed
- Discovered while testing
-
MDL-35517 When on the new course form I get a php warning
- Closed
-
MDL-37118 Capability 'mod/forum:allowforcesubscribe' does not work with prevent, only prohibit
- Closed
- has been marked as being related by
-
MDL-35027 Hidden forum's subscribers list shows participants with no access to forum
- Closed
- is a regression caused by
-
MDL-30151 fix default forum subscription regression caused by MDL-29964
- Closed
- will help resolve
-
MDL-31481 Loss of initialsubscriptions capability prevents you from having a role which doesn't receive notifications by default
- Closed
-
MDL-33050 Missing mod/forum:initialsubscriptions capability/functionality
- Closed