Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Deferred
-
Affects Version/s: 2.1, 2.2
-
Fix Version/s: None
-
Component/s: Forum
-
Labels:None
-
Testing Instructions:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
Description
When subscribing a user to a forum, the permissions to subscribe to the forum are tested against the current user, not the target one.
Before fixing, following the test instructions will fail at step 5 because the admin user is not enrolled in the course.
See mod/forum/subscribe.php:83 and linked issue.