From c7003d87b9dfc7be4410477e29f13d9405ebcfb2 Mon Sep 17 00:00:00 2001 From: ethem Date: Mon, 16 Oct 2006 09:53:03 +0000 Subject: [PATCH] + 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. --- enrol/authorize/db/access.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + ) ) ); -- 2.39.5