From 6360f87cdca744a6a71c315853f6d811a3e54e26 Mon Sep 17 00:00:00 2001 From: Michael Hawkins Date: Wed, 19 Dec 2018 13:58:11 +0800 Subject: [PATCH] MDL-64395 groups: Added XSS Risk to the manage groups capability --- lib/db/access.php | 1 + version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/db/access.php b/lib/db/access.php index 0dbb72aabf8..46164d5276b 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -1123,6 +1123,7 @@ $capabilities = array( ), 'moodle/course:managegroups' => array( + 'riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, diff --git a/version.php b/version.php index 498a8ccfdc2..9528f9ca423 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2018122000.01; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2018122000.02; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes. -- 2.11.4.GIT