Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.9.4
-
Fix Version/s: 1.9.6
-
Component/s: Roles / Access
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
get_users_by_capability() doesn't apply the default front page role when the context level being requested is below CONTEXT_COURSE.
Once noticeable side effect of this is that front page forum posts are not mailed out because the context of the forum is below the course context.
A patch that should fix this issue is attached.
First patch was broken - attaching a new version.