MDL-49941 quiz: mod/quiz:grade should declare RISK_XSS

This commit is contained in:
Tim Hunt 2015-04-21 11:03:26 +01:00 committed by Mr. Jenkins (CiBoT)
parent d031c2dcb9
commit e51fdfe0cb

View File

@ -108,7 +108,7 @@ $capabilities = array(
// Manually grade and comment on student attempts at a question.
'mod/quiz:grade' => array(
'riskbitmask' => RISK_SPAM,
'riskbitmask' => RISK_SPAM | RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(