APIv4 - Silently ignore non-permissioned fields instead of throwing exceptions
authorColeman Watts <coleman@civicrm.org>
Tue, 29 Jun 2021 03:14:32 +0000 (23:14 -0400)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 30 Jun 2021 08:10:09 +0000 (18:10 +1000)
commit80aabc6580db7b45a8d2decab349c4340109e804
treeaf63e8dadc4334dbcd36cb0c7058ac5ca7d3fd37
parent962e1ff2763fa989b0991da76ceb76743ce8fee4
APIv4 - Silently ignore non-permissioned fields instead of throwing exceptions

Previously the api would throw an exception when the user did not have permission to use a field
in the WHERE or HAVING clause.
Civi/Api4/Generic/AbstractAction.php
Civi/Api4/Query/Api4SelectQuery.php
Civi/Api4/Query/SqlField.php
tests/phpunit/api/v4/Action/ContactApiKeyTest.php