MDL-53566 core: Add support for context locking
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 7 Jun 2018 06:35:26 +0000 (14:35 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Tue, 13 Nov 2018 13:17:40 +0000 (21:17 +0800)
commit0616f045c392f774812f3d79ca8936a0274296be
tree644074786aa16344ad037dcb36b8e28fbaa38bd8
parent208950cff04f87e16eb008cd395c2222ec6934a7
MDL-53566 core: Add support for context locking

This chagne adds support for a new feature known as Context Locking.
This allows a context to be locked, thereby removing all write
capabilities for all users (including admin) for that context, and all
child contexts.
16 files changed:
cohort/lib.php
course/classes/category.php
lang/en/role.php
lib/accesslib.php
lib/classes/user.php
lib/db/access.php
lib/db/install.xml
lib/db/upgrade.php
lib/filebrowser/file_info_context_course.php
lib/phpunit/classes/advanced_testcase.php
lib/setuplib.php
lib/tests/accesslib_has_capability_test.php [new file with mode: 0644]
lib/tests/moodlelib_test.php
lib/tests/session_manager_test.php
lib/upgrade.txt
version.php