mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-49941 quiz: mod/quiz:grade should declare RISK_XSS
This commit is contained in:
parent
df96662b0e
commit
39ae18a2f9
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ $capabilities = array(
|
||||||
|
|
||||||
// Manually grade and comment on student attempts at a question.
|
// Manually grade and comment on student attempts at a question.
|
||||||
'mod/quiz:grade' => array(
|
'mod/quiz:grade' => array(
|
||||||
'riskbitmask' => RISK_SPAM,
|
'riskbitmask' => RISK_SPAM | RISK_XSS,
|
||||||
'captype' => 'write',
|
'captype' => 'write',
|
||||||
'contextlevel' => CONTEXT_MODULE,
|
'contextlevel' => CONTEXT_MODULE,
|
||||||
'archetypes' => array(
|
'archetypes' => array(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue