. $gradereport_overview_capabilities = array( 'gradereport/overview:view' => array( 'riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'legacy' => array( 'student' => CAP_ALLOW, 'admin' => CAP_ALLOW ) ) ); ?>