SearchKit - Pass entire record into `checkAccess`
authorColeman Watts <coleman@civicrm.org>
Sat, 1 Apr 2023 15:15:22 +0000 (11:15 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 1 Apr 2023 15:15:56 +0000 (11:15 -0400)
commit7c15819727983702609d976163729bed2616839e
tree1ed0e55a640619b4d44ce4074a3a4599f1c24ccd
parent29cf9973016448d0a83c69ad2367049b289fb17c
SearchKit - Pass entire record into `checkAccess`

For efficiency it's best to pass all available data into the `checkAccess` action to avoid unnecessary
db lookups. This ensures the full record is passed in when checking access before enabling in-place edit.
ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php