mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
![]() The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to 'contextlevel' => CONTEXT_MODULE) are: * moodle/site:accessallgroups * moodle/site:viewfullnames * moodle/site:trustcontent * moodle/site:viewuseridentity This list came from reviewing the _get_extra_capabilities functions in all core activities. They were all somewhat inconsistent, but I think it makes sense that these capabilities are consistently overridable in all activities. E.g. moodle/site:accessallgroups affects conditional availability even if there is no other user of groups, and moodle/site:viewuseridentity and moodle/site:viewfullnames affect the logs report, if nothing else. As a result of this, several _get_extra_capabilities functions are no longer needed, and all the rest have been simplified. |
||
---|---|---|
.. | ||
amd | ||
backup/moodle2 | ||
classes | ||
db | ||
feedback | ||
lang/en | ||
pix | ||
submission | ||
templates | ||
tests | ||
yui | ||
adminlib.php | ||
adminmanageplugins.php | ||
assignmentplugin.php | ||
batchsetallocatedmarkerform.php | ||
batchsetmarkingworkflowstateform.php | ||
extensionform.php | ||
externallib.php | ||
feedbackplugin.php | ||
gradeform.php | ||
gradingbatchoperationsform.php | ||
gradingoptionsform.php | ||
gradingtable.php | ||
index.php | ||
lib.php | ||
locallib.php | ||
mod_form.php | ||
module.js | ||
override_form.php | ||
overridedelete.php | ||
overrideedit.php | ||
overrides.php | ||
quickgradingform.php | ||
renderable.php | ||
renderer.php | ||
settings.php | ||
styles.css | ||
submission_form.php | ||
submissionconfirmform.php | ||
submissionplugin.php | ||
upgrade.txt | ||
upgradelib.php | ||
version.php | ||
view.php |