-
New Feature
-
Resolution: Fixed
-
Minor
-
Future Dev
-
MOODLE_38_STABLE
-
mdl-66119
-
We want to harden moodle, one vector is if you get admin access in the gui we want to prevent people from covering their tracks and doing some malicious stuff.
We can easily log down the log stores and other settings but we can't stop people from uninstalling things in the gui, so proposing a new config.php only setting:
$CFG->uninstallclionly => 1;
Short circuit here:
https://github.com/moodle/moodle/blob/master/lib/classes/plugin_manager.php#L1174