-
- Downloads
Add BAO function and hook for checkAccess
This adds a static ::checkAccess function to all BAOs, which dispatches to a protected _checkAccess function in that BAO, as well as a new hook: hook_civicrm_checkAccess($entity, $action, $record, $contactID, &$granted)
Showing
- CRM/Core/DAO.php 38 additions, 2 deletionsCRM/Core/DAO.php
- CRM/Core/DAO/AllCoreTables.php 1 addition, 1 deletionCRM/Core/DAO/AllCoreTables.php
- CRM/Financial/BAO/FinancialType.php 3 additions, 3 deletionsCRM/Financial/BAO/FinancialType.php
- CRM/Utils/Hook.php 25 additions, 0 deletionsCRM/Utils/Hook.php
- api/v3/Contribution.php 3 additions, 13 deletionsapi/v3/Contribution.php
- ext/financialacls/financialacls.php 26 additions, 0 deletionsext/financialacls/financialacls.php
- tests/phpunit/api/v3/FinancialTypeACLTest.php 4 additions, 2 deletionstests/phpunit/api/v3/FinancialTypeACLTest.php
Loading
Please register or sign in to comment