mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-49941 quiz: mod/quiz:grade should declare RISK_XSS
This commit is contained in:
parent
d031c2dcb9
commit
e51fdfe0cb
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user