-
Bug
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-47862-master -
In a/admin/tool/monitor/index.php there are checks for whether to show a link to the managerules.php page. These should be done at the correct context. If the selected item is a course, it should be at course context; otherwise it should be at site.
Without this change, only the site admin or someone with a system context capability to managerules will see the managerules link, regardless of whether they have permission to add rules for that course.