]> git.mjollnir.org Git - moodle.git/commitdiff
+ New consts for authorize_action() function:
authorethem <ethem>
Mon, 16 Oct 2006 09:53:03 +0000 (09:53 +0000)
committerethem <ethem>
Mon, 16 Oct 2006 09:53:03 +0000 (09:53 +0000)
  * 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

index de6dc5796cd39b864100822999de484b7603e152..5341963281033df30ce8a9a68bb1b5570cd1170b 100644 (file)
@@ -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
+        )
     )
 
 );