moodle/mod/choice
Tim Hunt 939218c2b6 MDL-46783 permissions: let some moodle/ caps be overriden in all mods
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.
2018-12-05 16:44:25 +00:00
..
amd MDL-60546 mod_choice: Update to select all functionality. 2017-11-22 14:10:55 +08:00
backup MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
classes MDL-63665 mod_choice: no exception when course_modules doesn't exist 2018-10-26 18:48:10 +11:00
db MDL-64300 upgrade: add 3.6.0 separation line to all upgrade scripts 2018-12-02 18:36:40 +01:00
lang/en MDL-56881 mod_choice: clarify lang string for limit-reached scenarios 2018-07-09 11:02:50 +08:00
pix MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
tests MDL-63665 mod_choice: support removal of multiple users in a context 2018-10-26 18:48:02 +11:00
index.php MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
lib.php MDL-46783 permissions: let some moodle/ caps be overriden in all mods 2018-12-05 16:44:25 +00:00
locallib.php MDL-62944 activities: Activities should not require capability 2018-08-31 10:15:37 +01:00
mod_form.php MDL-58138 completion: Fixes for a number of small issues. 2017-04-19 11:41:57 +08:00
renderer.php Merge branch 'MDL-60938-master-2' of git://github.com/junpataleta/moodle 2017-12-19 07:53:15 +01:00
report.php MDL-58845 mod_choice: In reports, respect "Show column for unanswered" 2018-02-16 08:45:51 +01:00
upgrade.txt MDL-59287 upgrade.txt: avoid misleading versions 2017-07-11 11:30:43 +01:00
version.php MDL-64282 versions: bump all versions and requires near release 2018-11-29 18:24:08 +01:00
view.php Merge branch 'MDL-2051-master-2' of git://github.com/junpataleta/moodle 2017-12-26 01:25:14 +01:00