-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0.6, 4.1.1
The pre_enable_plugin_actions callback was introduced in MDL-74584 but was added to admin/modules.php - which is the endpoint used to control the UI. This is wrong.
This should have been added to lib/classes/plugininfo/mod.php in the enable_plugin function.
With this in the wrong place, it is possible to enable plugins which should not be enabled.
As a case-in-point, all of the bigbluebutton unit tests fail when this is moved to the correct place because the dpa policy is not agreed to.