mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
+ 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.
This commit is contained in:
parent
9c746ce766
commit
c7003d87b9
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@ $enrol_authorize_capabilities = array(
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
'admin' => CAP_ALLOW
|
'admin' => CAP_ALLOW
|
||||||
)
|
)
|
||||||
|
),
|
||||||
|
|
||||||
|
'enrol/authorize:uploadcsv' => array(
|
||||||
|
'riskbitmask' => RISK_XSS,
|
||||||
|
'captype' => 'write',
|
||||||
|
'contextlevel' => CONTEXT_USER,
|
||||||
|
'legacy' => array(
|
||||||
|
'admin' => CAP_ALLOW
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue