|
@ -60,6 +60,18 @@ $capabilities = array( |
|
|
) |
|
|
) |
|
|
), |
|
|
), |
|
|
|
|
|
|
|
|
|
|
|
'mod/attforblock:addinstance' => array( |
|
|
|
|
|
'riskbitmask' => RISK_XSS, |
|
|
|
|
|
|
|
|
|
|
|
'captype' => 'write', |
|
|
|
|
|
'contextlevel' => CONTEXT_COURSE, |
|
|
|
|
|
'archetypes' => array( |
|
|
|
|
|
'editingteacher' => CAP_ALLOW, |
|
|
|
|
|
'manager' => CAP_ALLOW |
|
|
|
|
|
), |
|
|
|
|
|
'clonepermissionsfrom' => 'moodle/course:manageactivities' |
|
|
|
|
|
), |
|
|
|
|
|
|
|
|
'mod/attforblock:viewreports' => array( |
|
|
'mod/attforblock:viewreports' => array( |
|
|
|
|
|
|
|
|
'riskbitmask' => RISK_PERSONAL, |
|
|
'riskbitmask' => RISK_PERSONAL, |
|
|