3 $gradereport_grader_capabilities = array(
5 'gradereport/grader:view' => array(
6 'riskbitmask' => RISK_PERSONAL
,
8 'contextlevel' => CONTEXT_COURSE
,
10 'teacher' => CAP_ALLOW
,
11 'editingteacher' => CAP_ALLOW
,
16 'gradereport/grader:manage' => array(
17 'riskbitmask' => RISK_PERSONAL | RISK_CONFIG
,
19 'contextlevel' => CONTEXT_COURSE
,
21 'teacher' => CAP_ALLOW
,
22 'editingteacher' => CAP_ALLOW
,