mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
MDL-10057 XSS risk flag for Add/update course category
This commit is contained in:
parent
4225d4ba3a
commit
89a792abac
@ -391,6 +391,8 @@ $moodle_capabilities = array(
|
||||
|
||||
'moodle/category:create' => array(
|
||||
|
||||
'riskbitmask' => RISK_XSS,
|
||||
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_COURSECAT,
|
||||
'legacy' => array(
|
||||
@ -409,6 +411,8 @@ $moodle_capabilities = array(
|
||||
|
||||
'moodle/category:update' => array(
|
||||
|
||||
'riskbitmask' => RISK_XSS,
|
||||
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_COURSECAT,
|
||||
'legacy' => array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user