Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7, 2.7.1, 2.7.2
-
Component/s: Forum
-
Database:Any
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE
-
Fixed Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-47183-master -
Pull Master Diff URL:
Description
Steps to reproduce:
1. create a forum
2. hide forum
3. assing local role of "teacher" or "non-editing teacher" in this forum to a student
4. student should be able to use forum.
Cause:
post.php checks course context, it should check module context.
Solution:
check attached patch
Might be related to:
MDL-18094 and MDLSITE-464
This kind of check error might exist in other components.