From: ethem Date: Mon, 16 Oct 2006 09:53:03 +0000 (+0000) Subject: + New consts for authorize_action() function: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c7003d87b9dfc7be4410477e29f13d9405ebcfb2;p=moodle.git + New consts for authorize_action() function: * AN_RETURNZERO: No connection was made on authorize.net. * AN_APPROVED: The transaction was accepted. * AN_DECLINED: The transaction was declined. * AN_REVIEW: The transaction was held for review. + Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed' + New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user) + New feature: Search payments by orderid and transid + New function: send_welcome_messages() merged from 17stable. --- diff --git a/enrol/authorize/db/access.php b/enrol/authorize/db/access.php index de6dc5796c..5341963281 100644 --- a/enrol/authorize/db/access.php +++ b/enrol/authorize/db/access.php @@ -8,6 +8,15 @@ $enrol_authorize_capabilities = array( 'legacy' => array( 'admin' => CAP_ALLOW ) + ), + + 'enrol/authorize:uploadcsv' => array( + 'riskbitmask' => RISK_XSS, + 'captype' => 'write', + 'contextlevel' => CONTEXT_USER, + 'legacy' => array( + 'admin' => CAP_ALLOW + ) ) );