From 8c52eb2a152eff8375424447f1232cd147e13e48 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Tue, 6 Feb 2018 08:10:10 +0100 Subject: [PATCH] MDL-52811 course: Note about the new capability when creating courses --- course/upgrade.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/course/upgrade.txt b/course/upgrade.txt index 7f0cc376ce4e5..a181c44cc1338 100644 --- a/course/upgrade.txt +++ b/course/upgrade.txt @@ -1,6 +1,11 @@ This files describes API changes in /course/*, information provided here is intended especially for developers. +=== 3.5 === + * There is a new capability 'moodle/course:forcelanguage' to control which users can force the course + language; create_course and update_course functions delegate access control to the caller code; if you + are calling those functions you may be interested in checking if the logged in user has 'moodle/course:forcelanguage' capability. + === 3.3 === * External function core_course_external::get_courses_by_field now returns the course filters list and status.