mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-17611 removing XSS risk from mod/feedback:complete, because this capability is meant to be allowed in student roles
This commit is contained in:
parent
b0126ac9da
commit
9d4e4c3da0
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ $mod_feedback_capabilities = array(
|
|||
|
||||
'mod/feedback:complete' => array(
|
||||
|
||||
'riskbitmask' => RISK_SPAM | RISK_XSS,
|
||||
'riskbitmask' => RISK_SPAM,
|
||||
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_MODULE,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
|
||||
$module->version = 2008073003; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->version = 2008073004; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->requires = 2008072401; // Requires this Moodle version
|
||||
$feedback_version_intern = 1; //this version is used for restore older backups
|
||||
$module->cron = 0; // Period for cron to check this module (secs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue