APIv4 - Use api kernel to validate entity permissions
authorColeman Watts <coleman@civicrm.org>
Fri, 3 Jun 2022 03:29:30 +0000 (23:29 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 4 Jun 2022 02:22:21 +0000 (22:22 -0400)
commit1936f6c7c32bc087e847209a13484435439183cb
treee23a7a18eaaa6ff6efa89b95e3a2e6c2bae4a877
parent5bee23815cd56c5214634ee7f40a1b8f52f0ac20
APIv4 - Use api kernel to validate entity permissions

This allows extensions to expand permissions via the civi.api.authorize event,
instead of assuming that all permissions are hard-coded in the core entity.
Civi/Api4/Utils/CoreUtil.php